diff --git a/.github/actions/setup-animated-java-exports/action.yml b/.github/actions/setup-animated-java-exports/action.yml index e7605ff14..ef6601a2b 100644 --- a/.github/actions/setup-animated-java-exports/action.yml +++ b/.github/actions/setup-animated-java-exports/action.yml @@ -3,13 +3,6 @@ description: > Attempts to restore Animated Java export files from cache. If cache not hit, installs Animated Java and runs our auto-exporter -cache-paths: &cache-paths | - datapacks/animated_java/data - datapacks/animated_java/data.ajmeta - resourcepack/assets.ajmeta - resourcepack/assets/animated_java - resourcepack/assets/minecraft/models/item/white_dye.json - runs: using: composite steps: @@ -19,7 +12,12 @@ runs: id: cache-animated-java-exports with: key: cache-animated-java-exports-${{ env.BLOCKBENCH_URL }}-${{ env.ANIMATED_JAVA_URL }}-${{ hashFiles('resourcepack/assets/omega-flowey/models/**/*.ajblueprint')}} - path: *cache-paths + path: | + datapacks/animated_java/data + datapacks/animated_java/data.ajmeta + resourcepack/assets.ajmeta + resourcepack/assets/animated_java + resourcepack/assets/minecraft/models/item/white_dye.json - run: bash ${{ github.action_path }}/install-animated-java-and-run-auto-exporter.sh if: ${{ steps.cache-animated-java-exports.outputs.cache-hit != 'true' }} shell: bash @@ -27,4 +25,9 @@ runs: if: ${{ steps.cache-animated-java-exports.outputs.cache-hit != 'true' }} with: key: ${{ steps.cache-animated-java-exports.outputs.cache-primary-key }} - path: *cache-paths + path: | + datapacks/animated_java/data + datapacks/animated_java/data.ajmeta + resourcepack/assets.ajmeta + resourcepack/assets/animated_java + resourcepack/assets/minecraft/models/item/white_dye.json