diff --git a/.github/actions/fetch_ctk/action.yml b/.github/actions/fetch_ctk/action.yml index be7536c638..6cec965105 100644 --- a/.github/actions/fetch_ctk/action.yml +++ b/.github/actions/fetch_ctk/action.yml @@ -140,7 +140,7 @@ runs: ls -l $CUDA_PATH - name: Upload CTK cache - if: ${{ always() && + if: ${{ !cancelled() && steps.ctk-get-cache.outputs.cache-hit != 'true' }} uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 with: