Update sync_warp-go.yml

dependabot/github_actions/goreleaser/goreleaser-action-4
fscarmen 3 years ago committed by GitHub
parent bb4b65e014
commit 9a1345ee9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/sync_warp-go.yml

@ -29,9 +29,12 @@ jobs:
LATEST=$(wget -qO- https://git.zx2c4.com/wireguard-go/ | grep '/wireguard-go/tag' | sed -n 1p | sed "s/.*>\([0-9.]\{1,\}\)<.*/\1/g")
if [ "$LATEST_VERSION" != "$NOW_VERSION" ]; then
echo yes
git clone https://git.zx2c4.com/wireguard-go ${{ env.WORKDIR }}
cp ./.github/wireguard-go-releaser.yml ${{ env.WORKDIR }}/.goreleaser.yml
echo "VERSION=$LATEST" >> $GITHUB_ENV
else
echo no
fi
- name: Set up GoReleaser

Loading…
Cancel
Save