Skip to content

Commit

Permalink
conditional upload
Browse files Browse the repository at this point in the history
  • Loading branch information
aviadingo committed Jan 6, 2025
1 parent 97ef589 commit 6d80ee6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cpp-golang-rust-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ jobs:
cp -r ${{ steps.cuda-flag.outputs.INSTALL_PATH }} /tmp/ci/cache

- name: Cache ICICLE backend
- name: Upload Cached ICICLE backend
id: cache-icicle-save
uses: actions/cache/save@v4
# if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
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 }}
Expand Down Expand Up @@ -449,10 +449,10 @@ jobs:
cp -r ${{ steps.cuda-flag.outputs.INSTALL_PATH }} /tmp/ci/cache

- name: Cache ICICLE backend
- name: Upload Cached ICICLE backend
id: cache-icicle-save
uses: actions/cache/save@v4
# if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
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 }}
Expand Down Expand Up @@ -689,10 +689,10 @@ jobs:
cp -r ${{ steps.cuda-flag.outputs.INSTALL_PATH }} /tmp/ci/cache
- name: Cache ICICLE backend
- name: Upload Cached ICICLE backend
id: cache-icicle-save
uses: actions/cache/save@v4
# if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
if: steps.cuda-flag.outputs.CUDA_FLAG == '-DCUDA_BACKEND=local'
with:
path: /tmp/ci/cache
key: icicle-builds-hash-${{ steps.extract-cuda-sha.outputs.cuda-backend-sha }}-${{ steps.os-version.outputs.OS_VERSION }}
Expand Down

0 comments on commit 6d80ee6

Please sign in to comment.