|
|
|
@ -18,7 +18,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3.4.0 |
|
|
|
- uses: actions/checkout@v3.4.0 |
|
|
|
- name: Update wgcf to latest version |
|
|
|
- name: Update wgcf to latest version |
|
|
|
run: | |
|
|
|
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) |
|
|
|
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') |
|
|
|
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') |
|
|
|
|
|
|
|
|
|
|
|
|