mirror of https://gitlab.com/fscarmen/test.git
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.
22 lines
504 B
22 lines
504 B
name: Build Wireguard-go
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Build:
|
|
name: Build Linux Version
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setting up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- name: Build wireguard-go
|
|
run: |
|
|
git clone https://git.zx2c4.com/wireguard-go
|
|
cd wireguard-go
|
|
go build -v -o "wireguard-go"
|
|
mkdir release
|
|
cp wireguard-go release/main
|
|
|