From d1ea33db6abc24b66d7e2f4ea69a32c265e9a15e Mon Sep 17 00:00:00 2001 From: TheAfroOfDoom Date: Wed, 4 Sep 2024 18:45:41 -0400 Subject: [PATCH] only save cache if it wasnt found during restore --- .github/actions/setup-animated-java-exports/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/setup-animated-java-exports/action.yml b/.github/actions/setup-animated-java-exports/action.yml index 4e3497c3d..e7605ff14 100644 --- a/.github/actions/setup-animated-java-exports/action.yml +++ b/.github/actions/setup-animated-java-exports/action.yml @@ -24,6 +24,7 @@ runs: 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