Skip to content

Commit

Permalink
cicd: test
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Aug 15, 2024
1 parent 33884c2 commit 2e080ec
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e080ec

Please sign in to comment.