Skip to content

Commit 3d7e1cb

Browse files
committed
Add artifact publishing for Windows, Linux, and Apple Silicon in Go workflow
1 parent 40ccefa commit 3d7e1cb

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

.github/workflows/go.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,26 @@ jobs:
5050
GOARCH: arm64
5151
run: go build -v -o hammerclock-darwin-arm64 cmd/hammerclock/main.go
5252

53-
- name: Publish built artifacts
53+
- name: Publish Windows artifact
5454
uses: actions/upload-artifact@v4
5555
with:
56-
name: hammerclock
57-
path: ./
56+
name: hammerclock-windows-amd64
57+
path: ./hammerclock.exe
58+
59+
- name: Publish Linux artifact
60+
uses: actions/upload-artifact@v4
61+
with:
62+
name: hammerclock-linux-amd64
63+
path: ./hammerclock
64+
65+
- name: Publish Intel Mac artifact
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: hammerclock-darwin-amd64
69+
path: ./hammerclock-darwin-amd64
70+
71+
- name: Publish Apple Silicon Mac artifact
72+
uses: actions/upload-artifact@v4
73+
with:
74+
name: hammerclock-darwin-arm64
75+
path: ./hammerclock-darwin-arm64

0 commit comments

Comments
 (0)