From 97ef589d96a5bbc012d7e72ef5465b78e2d26299 Mon Sep 17 00:00:00 2001 From: aviadingo Date: Mon, 6 Jan 2025 18:37:51 +0200 Subject: [PATCH] restoring from cache based on existence in local storage --- .github/workflows/cpp-golang-rust-v2.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cpp-golang-rust-v2.yml b/.github/workflows/cpp-golang-rust-v2.yml index aead5a81a..5d2335d1f 100644 --- a/.github/workflows/cpp-golang-rust-v2.yml +++ b/.github/workflows/cpp-golang-rust-v2.yml @@ -135,6 +135,7 @@ jobs: - name: Restore cached ICICLE backend id: cache-icicle-restore uses: actions/cache/restore@v4 + if: steps.exists-flag.outputs.EXIST_FLAG == 'false' with: path: /tmp/ci/cache key: icicle-builds-curve-${{ matrix.curve.name }}-${{ steps.extract-cuda-sha.outputs.cuda-backend-sha }}-${{ steps.os-version.outputs.OS_VERSION }} @@ -342,6 +343,7 @@ jobs: - name: Restore cached ICICLE backend id: cache-icicle-restore uses: actions/cache/restore@v4 + if: steps.exists-flag.outputs.EXIST_FLAG == 'false' with: path: /tmp/ci/cache key: icicle-builds-field-${{ matrix.field.name }}-${{ steps.extract-cuda-sha.outputs.cuda-backend-sha }}-${{ steps.os-version.outputs.OS_VERSION }} @@ -580,6 +582,7 @@ jobs: - name: Restore cached ICICLE backend id: cache-icicle-restore uses: actions/cache/restore@v4 + if: steps.exists-flag.outputs.EXIST_FLAG == 'false' with: path: /tmp/ci/cache key: icicle-builds-hash-${{ steps.extract-cuda-sha.outputs.cuda-backend-sha }}-${{ steps.os-version.outputs.OS_VERSION }}