CI: save cache only when not hit

This commit is contained in:
daywalker90 2025-08-19 11:09:24 +02:00
parent 3f6bb2f78f
commit 4ddefe50ec
No known key found for this signature in database

View file

@ -92,7 +92,7 @@ jobs:
- name: Save bitcoind cache
id: save-cache-bitcoind
if : ${{ always() }}
if : ${{ always() && steps.cache-bitcoind.outputs.cache-hit != 'true'}}
uses: actions/cache/save@v4
with:
path: /usr/local/bin/bitcoin*
@ -110,7 +110,7 @@ jobs:
- name: Save CLN cache
id: save-cache-cln
if : ${{ always() }}
if : ${{ always() && steps.cache-cln.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v4
with:
path: |