Skip to content

Commit a96ecbd

Browse files
committed
feat: add windows builds to pipeline
1 parent 8bc116e commit a96ecbd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,21 @@ jobs:
2121
uses: actions/setup-go@v4
2222
with:
2323
go-version: '^1.22'
24-
- name: Build
24+
- name: Linux Build
2525
run: go build ./
26+
- name: Windows Build
27+
run: GOOS=windows GOARCH=amd64 go build ./
2628
- name: Running Tests
2729
run: go test ./
28-
- name: Compress Binary
30+
- name: Compress Linux Binary
2931
run: tar -czvf sps-buddy_linux_x86_64.tar.gz sps-buddy
32+
- name: Compress Windows Binary
33+
run: tar -czvf sps-buddy_windows_x86_64.tar.gz sps-buddy.exe
3034
- name: Release
3135
uses: softprops/action-gh-release@v2
3236
if: startsWith(github.ref, 'refs/tags/')
3337
with:
3438
files: |
3539
sps-buddy_linux_x86_64.tar.gz
40+
sps-buddy_windows_x86_64.tar.gz
3641
sps-buddy

0 commit comments

Comments
 (0)