From 3107b04f30ba702615d4f793f6541ed0a5e4298b Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Wed, 24 Apr 2024 21:13:11 +0100 Subject: [PATCH] Add branch ref by id --- .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 5203807..9eacc54 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/heads/only-cache-results-on-main' + if: 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 }}