From 58065239cad9b4b903ac62370936a8adc9ec70b4 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Mon, 11 Nov 2024 16:43:25 +1100 Subject: [PATCH] Attempt to fix CI --- .github/workflows/build_and_test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index e7ea8630e..2a20bbbaf 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -43,6 +43,8 @@ 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