Skip to content

Commit c08eb87

Browse files
committed
Use platform name in matrix
Signed-off-by: Anders Eknert <anders@eknert.com>
1 parent c05f213 commit c08eb87

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ jobs:
1515
- ubuntu-latest
1616
- windows-latest
1717
- macos-latest
18+
include:
19+
- os: ubuntu-latest
20+
platform: linux
21+
- os: windows-latest
22+
platform: windows
23+
- os: macos-latest
24+
platform: macos
1825
runs-on: ${{ matrix.os }}
1926
steps:
2027
- uses: actions/checkout@v4
2128
- uses: actions/setup-go@v5
2229
with:
2330
go-version-file: 'go.mod'
24-
- run: go build -o dist/${{ matrix.os }}/
31+
- run: go build -o dist/${{ matrix.platform }}/
2532
- uses: actions/upload-artifact@v3
2633
with:
2734
path: dist

0 commit comments

Comments
 (0)