Skip to content

Commit

Permalink
fix: Correctly setup folders for @next script (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Jul 22, 2024
1 parent 2bf5916 commit 412bbfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
run: |
mkdir -p "$GITHUB_WORKSPACE/${{ env.VERSION }}"
mv schemas/* "$GITHUB_WORKSPACE/${{ env.VERSION }}"
mkdir -p "$GITHUB_WORKSPACE/${{ env.VERSION }}/types"
mv types/* "$GITHUB_WORKSPACE/${{ env.VERSION }}/types"
mkdir -p "$GITHUB_WORKSPACE/${{ env.VERSION }}/examples"
# Copy JSON files, preserving directory structure
rsync -a --prune-empty-dirs --include '*/' --include '*.json' --exclude '*' examples/ "$GITHUB_WORKSPACE/${{ env.VERSION }}/examples/"
Expand Down

0 comments on commit 412bbfa

Please sign in to comment.