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