Skip to content

Commit

Permalink
no yaml anchors is crazy
Browse files Browse the repository at this point in the history
sure ill add to the issue mentioned list on this, why not :)
actions/runner#1182
  • Loading branch information
TheAfroOfDoom committed Sep 4, 2024
1 parent d1ea33d commit 035288f
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/actions/setup-animated-java-exports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -19,12 +12,22 @@ 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
- uses: actions/cache/save@v4
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

0 comments on commit 035288f

Please sign in to comment.