Skip to content

Commit 9fc1bc4

Browse files
committed
2 parents 1f9d561 + 9e4d6cc commit 9fc1bc4

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/publish-binary.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,20 @@ on:
66

77
jobs:
88
build:
9-
name: Publish binaries
10-
runs-on: ubuntu-latest
9+
name: Publish for ${{ matrix.os }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
include:
14+
- os: ubuntu-latest
15+
artifact_name: callscript
16+
asset_name: callscript-linux-amd64
17+
- os: windows-latest
18+
artifact_name: callscript.exe
19+
asset_name: callscript-windows-amd64
20+
- os: macos-latest
21+
artifact_name: callscript
22+
asset_name: callscript-macos-amd64
1123
steps:
1224
- uses: actions/checkout@v3
1325
- name: Set up Python 3.10
@@ -32,3 +44,4 @@ jobs:
3244
file_glob: true
3345
tag: ${{ github.ref }}
3446
overwrite: true
47+
asset_name: ${{ matrix.asset_name }}

0 commit comments

Comments
 (0)