diff --git a/.github/workflows/update-genshin.yml b/.github/workflows/update-genshin.yml index e265c2a2fa3..eec7d54636e 100644 --- a/.github/workflows/update-genshin.yml +++ b/.github/workflows/update-genshin.yml @@ -99,7 +99,7 @@ jobs: for ((i=${#COMMITS[@]}-1; i>=0; i--)); do COMMIT=$(echo "${COMMITS[i]}" | awk '{print $1}') MESSAGE=$(echo "${COMMITS[i]}" | cut -d' ' -f2-) - + echo "Processing commit: $COMMIT" VERSION=$(echo "$MESSAGE" | sed -n 's/.*v\([0-9]\+\.[0-9]\+\)$/\1/p') gh api "repos/dvaJi/genshin-data/git/trees/$COMMIT?recursive=1" \ --jq '.tree[] | select(.type == "blob") | .path' > changed_files.txt