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 }}