From e524038d7ed1413ae08f38d8932f027d2372b3e6 Mon Sep 17 00:00:00 2001 From: Harry-zklcdc Date: Thu, 7 Mar 2024 22:50:15 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=20=F0=9F=93=8C=20FreeBSD=20Binary=20Build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0027950cf..f7a9980d5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: