diff --git a/.github/workflows/sync_wgcf.yml b/.github/workflows/sync_wgcf.yml index a5f55f1..8b1c3ee 100644 --- a/.github/workflows/sync_wgcf.yml +++ b/.github/workflows/sync_wgcf.yml @@ -19,6 +19,8 @@ jobs: run: | 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') + echo "$NOW" + echo "$LATEST" if [ "$LATEST" != "$NOW" ]; then [ ! -d ${GITHUB_WORKSPACE}/wgcf ] && mkdir -p ${GITHUB_WORKSPACE}/wgcf