File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,23 @@ jobs:
2424 - name : Linux Build
2525 run : go build ./
2626 - name : Windows Build
27- run : GOOS=windows GOARCH=amd64 go build ./
27+ run : GOOS=windows GOARCH=amd64 go build ./
28+ - name : Mac Build
29+ run : GOOS=darwin GOARCH=amd64 go build -o sps-buddy-mac
2830 - name : Running Tests
2931 run : go test ./
3032 - name : Compress Linux Binary
3133 run : tar -czvf sps-buddy_linux_x86_64.tar.gz sps-buddy
3234 - name : Compress Windows Binary
3335 run : tar -czvf sps-buddy_windows_x86_64.tar.gz sps-buddy.exe
36+ - name : Compress Mac Binary
37+ run : tar --transform='s/sps-buddy-mac/sps-buddy/' -czvf sps-buddy_darwin_x86_64.tar.gz sps-buddy-mac
3438 - name : Release
3539 uses : softprops/action-gh-release@v2
3640 if : startsWith(github.ref, 'refs/tags/')
3741 with :
3842 files : |
3943 sps-buddy_linux_x86_64.tar.gz
40- sps-buddy_windows_x86_64.tar.gz
44+ sps-buddy_windows_x86_64.tar.gz
45+ sps-buddy_darwin_x86_64.tar.gz
4146 sps-buddy
You can’t perform that action at this time.
0 commit comments