Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kondoumh committed Apr 20, 2024
1 parent 0e72788 commit a5f1b81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ jobs:
run: |
GOOS=linux GOARCH=amd64 go build -o build/linux/sbgraph main.go
GOOS=windows GOARCH=amd64 go build -o build/windows/sbgraph.exe main.go
GOOS=darwin GOARCH=amd64 go build -o build/macos/sbgraph main.go
GOOS=darwin GOARCH=amd64 go build -o build/macos-amd64/sbgraph main.go
GOOS=darwin GOARCH=arm64 go build -o build/macos-arm64/sbgraph main.go
- name: Archive
if: startsWith(github.ref, 'refs/tags/')
run: |
(cd build/linux && tar cfvz ../sbgraph-linux-amd64.tar.gz sbgraph)
(cd build/windows && tar cfvz ../sbgraph-windows-amd64.tar.gz sbgraph.exe)
(cd build/macos && tar cfvz ../sbgraph-darwin-amd64.tar.gz sbgraph)
(cd build/macos-amd64 && tar cfvz ../sbgraph-darwin-amd64.tar.gz sbgraph)
(cd build/macos-arm64 && tar cfvz ../sbgraph-darwin-arm64.tar.gz sbgraph)
- name: Publish
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit a5f1b81

Please sign in to comment.