From bafae0bdeb89f52a3597ece883bc0f093c6749e8 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Wed, 24 Apr 2024 21:14:52 +0100 Subject: [PATCH] Add always check --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9eacc54..9803162 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 }}