diff --git a/.github/workflows/update-genshin.yml b/.github/workflows/update-genshin.yml index 084a2257e38..4ae2b12657f 100644 --- a/.github/workflows/update-genshin.yml +++ b/.github/workflows/update-genshin.yml @@ -67,7 +67,7 @@ jobs: echo "$COMMITS" | while read -r COMMIT MESSAGE; do VERSION=$(echo "$MESSAGE" | sed -n 's/.*v\([0-9]\+\.[0-9]\+\)$/\1/p') - gh api 'repos/dvaJi/genshin-data/git/trees/$COMMIT?recursive="1"' \ + gh api 'repos/dvaJi/genshin-data/git/trees/$COMMIT?recursive=1' \ --jq '.tree[] | select(.type == "blob") | .path' > changed_files.txt git clone https://github.com/dvaJi/genshin-data.git bun run ./scripts/workflow/update_file.ts "$VERSION"