Update wireguard-go.yml

dependabot/github_actions/actions/checkout-3.1.0 v1.0.3
fscarmen 4 years ago committed by GitHub
parent ca90b4786c
commit 78ce1ebdc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      .github/workflows/wireguard-go.yml

@ -22,21 +22,20 @@ jobs:
go build -v -o "wireguard-go"
mkdir /opt/release
cp wireguard-go /opt/release
- name: Uploading artifact
uses: actions/upload-artifact@v2
with:
name: wireguard-go # 生成的压缩包名称
path: /opt/release # 需要打包的路径
- name: Downloading artifact
uses: actions/download-artifact@v2
with:
name: wireguard-go
path: /opt/release
# - name: Uploading artifact
# uses: actions/upload-artifact@v2
# with:
# name: wireguard-go # 生成的压缩包名称
# path: /opt/release # 需要打包的路径
# - name: Downloading artifact
# uses: actions/download-artifact@v2
# with:
# name: wireguard-go
# path: /opt/release
- name: Binaries Release
uses: softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/')
with:
files: /opt/release/wireguard-go
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

Loading…
Cancel
Save