From 94a8f918d7c42514dfa58748821083020771fe24 Mon Sep 17 00:00:00 2001 From: rudy Date: Mon, 11 Apr 2022 10:01:10 +0200 Subject: [PATCH] feat(ci): no KeySetCache download for full cache change --- .github/workflows/continuous-integration.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4c4d8edf7..e3acc577d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -86,7 +86,7 @@ jobs: make concrete-optimizer-lib - name: Download KeySetCache - if: ${{ matrix.compiler == 'gcc7' }} + if: ${{ matrix.compiler == 'gcc7' && !contains(github.head_ref, 'newkeysetcache') }} continue-on-error: true run: | cd compiler @@ -273,7 +273,7 @@ jobs: - name: Download KeySetCache continue-on-error: true - if: github.event_name == 'push' + if: ${{ github.event_name == 'push' && !contains(github.head_ref, 'newkeysetcache') }} run: | cd compiler KEYSETCACHECI="$TMPDIR/KeySetCache" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated @@ -315,6 +315,7 @@ jobs: make concrete-optimizer-lib - name: Download KeySetCache + if: ${{ !contains(github.head_ref, 'newkeysetcache') }} continue-on-error: true run: | cd compiler