Skip to content

Commit

Permalink
Use bin name from build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-richter committed Aug 19, 2024
1 parent bcc8c6c commit a9bcf19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ jobs:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-gnu
bin: pippo

- build: macos_x86_64
os: macos-latest
target: x86_64-apple-darwin
bin: pippo

- build: windows-gnu
os: ubuntu-latest
target: x86_64-pc-windows-gnu
bin: pippo.exe

steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +47,7 @@ jobs:
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
bin: pippo,pippo.exe
bin: ${{ matrix.bin }}
# (optional) Target triple, default is host triple.
# This is optional but it is recommended that this always be set to
# clarify which target you are building for if macOS is included in
Expand Down

0 comments on commit a9bcf19

Please sign in to comment.