Update wireguard-go.yml

dependabot/github_actions/actions/checkout-3.1.0 v2.17
fscarmen 4 years ago committed by GitHub
parent cfab2e9c3d
commit 1f0d08fd77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .github/workflows/wireguard-go.yml

@ -29,17 +29,20 @@ jobs:
run: |
GO_VERSION=1.18
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: "${{ env.go_version }}"
- name: Build WireGuard-go
run: |
mkdir -p /opt/release/
git clone https://git.zx2c4.com/wireguard-go
cd wireguard-go
go build -v -o "/opt/release/wireguard-go-${{ matrix.goos }}-${{ matrix.goarch }}"
- name: Setup Go environment
- uses: actions/setup-go@v3
- uses: wangyoucao577/go-release-action@v1.25
with:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
go-version: "latest"
project_path: "./wireguard-go"
binary_name: "wireguard-go-${{ matrix.goos }}-${{ matrix.goarch }}"
- name: Release binaries
uses: softprops/action-gh-release@v1

Loading…
Cancel
Save