From c0e941348b0ddd2a4339a956989b8b4678d58dcf Mon Sep 17 00:00:00 2001 From: xvzc <45588457+xvzc@users.noreply.github.com> Date: Fri, 11 Mar 2022 09:59:53 +0900 Subject: [PATCH] Create release.yaml --- .github/workflows/release.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..d76ba5d --- /dev/null +++ b/.github/workflows/release.yaml @@ -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"