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:
parent
a62166e5a2
commit
a95bbaa159
1 changed files with 1 additions and 0 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -209,6 +209,7 @@ jobs:
|
||||||
- name: Save Prefix
|
- name: Save Prefix
|
||||||
id: cache-prefix-save
|
id: cache-prefix-save
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
|
if: steps.cache-prefix-restore.outputs.cache-hit != 'true'
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.strings.outputs.prefix-dir }}
|
path: ${{ steps.strings.outputs.prefix-dir }}
|
||||||
key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }}
|
key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue