From c8fb0c392301c53feda7aef4cf7fd63710e8c98e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 18 May 2024 12:52:58 -0400 Subject: [PATCH] Only run "Save Prefix" step when a cache miss happens Prevents a warning from popping up on the dashboard --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d0916b..2facc81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -285,6 +285,7 @@ jobs: - name: Save Prefix id: cache-prefix-save uses: actions/cache/save@v4 + if: steps.cache-prefix-restore.outputs.cache-hit != 'true' with: path: ${{ steps.strings.outputs.prefix-dir }} key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }}