Add always check

This commit is contained in:
Tom Parker-Shemilt 2024-04-24 21:14:52 +01:00
parent 3107b04f30
commit bafae0bdeb

View file

@ -41,7 +41,7 @@ jobs:
RUST_LOG: warn
- name: Save results cache
uses: actions/cache/save@v4
if: github.ref == 'refs/heads/main' || github.ref == 'refs/pull/1716/merge'
if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/pull/1716/merge')
with:
path: results/*.yaml
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}