fscarmen【Sing-box 全家桶】
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/.github/workflows/wireguard-go.yml

33 lines
777 B

name: Build Wireguard-go
on:
workflow_dispatch:
jobs:
binaries:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Fetch Go version
run: |
GO_VERSION=1.18
echo "go_version=$GO_VERSION" >> $GITHUB_ENV
git clone https://git.zx2c4.com/wireguard-go
cd wireguard-go
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: "${{ env.go_version }}"
- name: Binaries Release
uses: goreleaser/goreleaser-action@v2.9.1
with:
version: ~> 1.5.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}