Skip to content

Commit a9bcf19

Browse files
Use bin name from build matrix
1 parent bcc8c6c commit a9bcf19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ jobs:
2525
- build: linux
2626
os: ubuntu-latest
2727
target: x86_64-unknown-linux-gnu
28+
bin: pippo
2829

2930
- build: macos_x86_64
3031
os: macos-latest
3132
target: x86_64-apple-darwin
33+
bin: pippo
3234

3335
- build: windows-gnu
3436
os: ubuntu-latest
3537
target: x86_64-pc-windows-gnu
38+
bin: pippo.exe
3639

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

0 commit comments

Comments
 (0)