From 412bbfa18b7092181e480a5f104e087d073ed20d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 22 Jul 2024 17:17:04 +0100 Subject: [PATCH] fix: Correctly setup folders for @next script (#210) --- .github/workflows/update-next.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update-next.yml b/.github/workflows/update-next.yml index be50b6cf..261d21d2 100644 --- a/.github/workflows/update-next.yml +++ b/.github/workflows/update-next.yml @@ -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/"