From 0174d50511ba623d3807c6d59385bab7158f151b Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Tue, 1 Oct 2024 15:54:52 +0100 Subject: [PATCH] Temp cache fix for forks [CI BUILD] --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b75e3da3d..5b775e794e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -516,7 +516,7 @@ jobs: - name: Save Library/PackageCache cache uses: actions/cache/save@v4 - if: github.ref == 'refs/heads/main' && steps.check_packagecache.outputs.changes == 0 && steps.cache_packagecache.outputs.cache-hit != 'true' && ! matrix.packages_to_remove # Ideally, we'd save caches on branches, but they're too big, and branch caches can evict those from main, which is unacceptable. + if: steps.check_packagecache.outputs.changes == 0 && steps.cache_packagecache.outputs.cache-hit != 'true' && ! matrix.packages_to_remove # Ideally, we'd save caches on branches, but they're too big, and branch caches can evict those from main, which is unacceptable. env: SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10 with: