From ebe9484dbc80bf3216565f5d722ac61a7962cb22 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Tue, 12 Nov 2024 12:08:51 +1100 Subject: [PATCH] Attempt to fix CI (#1806) --- .github/workflows/build_and_test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index e7ea8630e..8c9891f97 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -43,6 +43,10 @@ jobs: # Otherwise only the last build to finish would get saved to the cache. # We allow different test_flags to share a cache as they should have identical build outputs key: ${{ matrix.runner }} - ${{ matrix.cargo_flags }} + cache-directories: | + target/debug/jassets + target/release/jassets + # this line means that only the main branch writes to the cache # benefits: # * prevents main branch caches from being evicted in favor of a PR cache