From 7b1ddf87a63e553eb4d26884a7c81b4a3ef05e07 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Thu, 17 Mar 2022 21:33:07 +0800 Subject: [PATCH] Update wireguard-go.yml --- .github/workflows/wireguard-go.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/wireguard-go.yml b/.github/workflows/wireguard-go.yml index 49c8bb6..8549741 100644 --- a/.github/workflows/wireguard-go.yml +++ b/.github/workflows/wireguard-go.yml @@ -9,11 +9,6 @@ permissions: jobs: goreleaser: runs-on: ubuntu-latest - strategy: - matrix: - goos: [linux] - goarch: [amd64, arm64] - steps: - name: Checkout @@ -32,21 +27,17 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: + # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - + # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution + # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + - + name: Release Binary run: | - git clone https://git.zx2c4.com/wireguard-go - cd wireguard-go - go build -o wirguard-go /opt/release/ - - - name: Binaries Release - uses: softprops/action-gh-release@v1 - with: - tag_name: v2.6 - files: /opt/release/* - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + git clone https://git.zx2c4.com/wireguard-go + cd wireguard-go + go build -o wirguard-go