Update sync_wgcf.yml

dependabot/github_actions/docker/setup-buildx-action-2.6.0
fscarmen 3 years ago committed by GitHub
parent bc730f0de9
commit 1f23da46f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/sync_wgcf.yml

@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3.4.0
- name: Update wgcf to latest version
run: |
echo ${{ github.event.repository.email }}
echo "${{ github.event.repository.email }}///////${{ github.event.sender.email }}"
NOW=$(wget -qO- https://raw.githubusercontent.com/${{ github.repository }}/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')

Loading…
Cancel
Save