This commit is contained in:
xvzc 2022-03-11 10:01:40 +09:00
commit 2c600eb392

View File

@ -1,12 +1,13 @@
# .github/workflows/release.yaml # .github/workflows/release.yaml
on: on:
release: pull_request:
types: [created] branches:
- main
jobs: jobs:
release-linux-amd64: release-linux-amd64:
name: release linux/amd64 name: Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -15,3 +16,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux goos: linux
goarch: amd64 goarch: amd64
build_command: "go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi"