|
|
|
@ -18,16 +18,17 @@ jobs: |
|
|
|
uses: actions/checkout@master |
|
|
|
uses: actions/checkout@master |
|
|
|
with: |
|
|
|
with: |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
- name: Set up GoReleaser |
|
|
|
|
|
|
|
uses: actions/setup-go@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
go-version: "1.18" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Git clone WireGuard-go |
|
|
|
- name: Git clone WireGuard-go |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
git clone https://git.zx2c4.com/wireguard-go "$workdir" |
|
|
|
git clone https://git.zx2c4.com/wireguard-go "$workdir" |
|
|
|
cp ./.github/wireguard-go-releaser.yml ${{ env.workdir }}/.goreleaser.yml |
|
|
|
cp ./.github/wireguard-go-releaser.yml ${{ env.workdir }}/.goreleaser.yml |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set up GoReleaser |
|
|
|
|
|
|
|
uses: actions/setup-go@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
go-version: "1.18" |
|
|
|
|
|
|
|
|
|
|
|
- name: Run GoReleaser |
|
|
|
- name: Run GoReleaser |
|
|
|
uses: goreleaser/goreleaser-action@v2 |
|
|
|
uses: goreleaser/goreleaser-action@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|