We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc116e commit a96ecbdCopy full SHA for a96ecbd
.github/workflows/go.yml
@@ -21,16 +21,21 @@ jobs:
21
uses: actions/setup-go@v4
22
with:
23
go-version: '^1.22'
24
- - name: Build
+ - name: Linux Build
25
run: go build ./
26
+ - name: Windows Build
27
+ run: GOOS=windows GOARCH=amd64 go build ./
28
- name: Running Tests
29
run: go test ./
- - name: Compress Binary
30
+ - name: Compress Linux Binary
31
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
34
- name: Release
35
uses: softprops/action-gh-release@v2
36
if: startsWith(github.ref, 'refs/tags/')
37
38
files: |
39
sps-buddy_linux_x86_64.tar.gz
40
+ sps-buddy_windows_x86_64.tar.gz
41
sps-buddy
0 commit comments