SpoofDPI/.github/workflows/release.yaml
2022-03-11 10:16:56 +09:00

19 lines
466 B
YAML

# .github/workflows/release.yaml
on:
release:
types: [created]
jobs:
release-linux-amd64:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.25
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
build_command: "go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi"