diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3cdce84..5f2b260 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,26 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + release_arwin_amd64: + name: Release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.21 + - name: Display Go version + run: go version + - name: Build linux/amd64 + env: + GOOS: darwin + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + ls -al + # build_and_publish: # needs: draft_release # runs-on: ubuntu-latest