Update wireguard-go.yml

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

@ -21,7 +21,7 @@ jobs:
go-version: 1.17 go-version: 1.17
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }} goarch: ${{ matrix.goarch }}
project_path: "./cmd/test-binary" project_path: "/opt/release"
binary_name: "test-binary" binary_name: "test-binary"
- name: Building wireguard-go - name: Building wireguard-go
@ -29,12 +29,12 @@ jobs:
mkdir -p ./cmd/ mkdir -p ./cmd/
git clone https://git.zx2c4.com/wireguard-go git clone https://git.zx2c4.com/wireguard-go
cd wireguard-go cd wireguard-go
go build -o oj ./cmd/oj go build -o oj /opt/release/wireguard-go
- name: Binaries Release - name: Binaries Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
tag_name: v2.6 tag_name: v2.6
files: ./cmd/* files: /opt/release/*
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

Loading…
Cancel
Save