Skip to content

Commit

Permalink
added recursive path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Malot committed Aug 27, 2024
1 parent f420da0 commit 7e122ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update-genshin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ 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 \
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
ls -l
bun run ./scripts/workflow/update_file.ts "$VERSION"
echo "$COMMIT" > .last_processed_commit
git add .
Expand Down

0 comments on commit 7e122ec

Please sign in to comment.