Skip to content

Commit

Permalink
[Add] 📌 FreeBSD Binary Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Mar 7, 2024
1 parent 705fea4 commit e524038
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
GOOS=windows GOARCH=arm64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai.exe main.go && tar -zcvf go-proxy-bingai-windows-arm64.tar.gz go-proxy-bingai.exe
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-darwin-amd64.tar.gz go-proxy-bingai
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-darwin-arm64.tar.gz go-proxy-bingai
GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-freebsd-amd64.tar.gz go-proxy-bingai
GOOS=freebsd GOARCH=arm64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-freebsd-arm64.tar.gz go-proxy-bingai
GOOS=freebsd GOARCH=arm GOARM=7 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-freebsd-armv7.tar.gz go-proxy-bingai
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
Expand All @@ -59,6 +62,9 @@ jobs:
go-proxy-bingai-windows-arm64.tar.gz
go-proxy-bingai-darwin-amd64.tar.gz
go-proxy-bingai-darwin-arm64.tar.gz
go-proxy-bingai-freebsd-amd64.tar.gz
go-proxy-bingai-freebsd-arm64.tar.gz
go-proxy-bingai-freebsd-armv7.tar.gz
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e524038

Please sign in to comment.