Update sync_wgcf.yml

dependabot/github_actions/docker/build-push-action-4.0.0
fscarmen 3 years ago committed by GitHub
parent 33fa22084d
commit d735621d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/sync_wgcf.yml

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3.4.0
- name: Update wgcf to latest version
run: |
NOW=$(wget -qO- https://raw.githubusercontent.com/${{ env.USERNAME }}/warp/main/menu.sh | grep 'latest=${latest' | cut -d \' -f2)
NOW=$(wget -qO- https://raw.githubusercontent.com/${{ env.USERNAME }}/test/main/menu.sh | grep 'latest=${latest' | cut -d \' -f2)
LATEST=$(wget -qO- "https://api.github.com/repos/ViRb3/wgcf/releases/latest" | grep "tag_name" | head -n 1 | cut -d : -f2 | sed 's/[ \"v,]//g')
if [ "$LATEST" != "$NOW" ]; then

Loading…
Cancel
Save