mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 22:36:53 +00:00
Create release.yaml
This commit is contained in:
parent
a1f24d7871
commit
c0e941348b
19
.github/workflows/release.yaml
vendored
Normal file
19
.github/workflows/release.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# .github/workflows/release.yaml
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
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"
|
Loading…
Reference in New Issue
Block a user