diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index e013b1d2..2703af16 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -46,8 +46,8 @@ runs: - name: Set up CTK cache variable shell: bash --noprofile --norc -xeuo pipefail {0} run: | - echo "CTK_CACHE_KEY=mini-ctk-${{ inputs.cuda-version }}" >> $GITHUB_ENV - echo "CTK_CACHE_FILENAME=mini-ctk-${{ inputs.cuda-version }}.tar.gz" >> $GITHUB_ENV + echo "CTK_CACHE_KEY=mini-ctk-${CTK_BUILD_VER}" >> $GITHUB_ENV + echo "CTK_CACHE_FILENAME=mini-ctk-${CTK_BUILD_VER}.tar.gz" >> $GITHUB_ENV - name: Download CTK cache id: ctk-get-cache diff --git a/.github/workflows/gh-build-and-test.yml b/.github/workflows/gh-build-and-test.yml index d8dce525..556c47f2 100644 --- a/.github/workflows/gh-build-and-test.yml +++ b/.github/workflows/gh-build-and-test.yml @@ -120,3 +120,4 @@ jobs: CUDA_BINDINGS_ARTIFACT_NAME: ${{ needs.build.outputs.CUDA_BINDINGS_ARTIFACT_NAME }} CUDA_BINDINGS_ARTIFACTS_DIR: ${{ needs.build.outputs.CUDA_BINDINGS_ARTIFACTS_DIR }} PYTHON_VERSION: ${{ inputs.python-version }} + CTK_BUILD_VER: ${{ inputs.cuda-version }}