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