1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00

Only save prefix on cache miss

This commit is contained in:
Joshua Goins 2024-05-18 13:56:40 -04:00
parent a62166e5a2
commit a95bbaa159

View file

@ -209,6 +209,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 }}