1
0
mirror of https://github.com/actions/cache.git synced 2025-04-01 04:20:14 +08:00

docs: fix condition for always saving

This commit is contained in:
Matthijs van der Burgh 2025-03-18 11:08:36 +01:00 committed by GitHub
parent d4323d4df1
commit eb5dd21456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -106,7 +106,7 @@ jobs:
- name: Always Save Prime Numbers
id: cache-prime-numbers-save
if: always() && steps.cache-prime-numbers-restore.outputs.cache-hit != 'true'
if: ${{ always() && steps.cache-prime-numbers-restore.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v4
with:
key: ${{ steps.cache-prime-numbers-restore.outputs.cache-primary-key }}