mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
ci: only compile for releases for the relevant crate
This commit is contained in:
@@ -9,8 +9,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
compile-and-publish:
|
compile-and-publish:
|
||||||
|
if: startsWith(github.event.release.tag_name, format("{0}-v", matrix.crate))
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
crate:
|
||||||
|
- ac-qu-ai-nt
|
||||||
|
- ac-qu-ai-nt-cli-clap
|
||||||
supporteds:
|
supporteds:
|
||||||
- runner: macos-latest
|
- runner: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
@@ -68,6 +72,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: taiki-e/upload-rust-binary-action@v1
|
- uses: taiki-e/upload-rust-binary-action@v1
|
||||||
with:
|
with:
|
||||||
bin: ac-qu-ai-nt
|
bin: ${{ matrix.crate }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
target: ${{ matrix.supporteds.target }}
|
target: ${{ matrix.supporteds.target }}
|
||||||
|
Reference in New Issue
Block a user