Skip to content

Commit 5cf0f55

Browse files
authored
fix
1 parent 18edf5e commit 5cf0f55

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/fetch_ctk/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
shell: bash --noprofile --norc -xeuo pipefail {0}
5252
run: |
5353
CACHE_TMP_DIR="./cache_tmp_dir"
54-
rm -f $CACHE_TMP_DIR
54+
rm -rf $CACHE_TMP_DIR
5555
mkdir $CACHE_TMP_DIR
5656
5757
# The binary archives (redist) are guaranteed to be updated as part of the release posting.
@@ -120,6 +120,7 @@ runs:
120120
CUDA_PATH="./cuda_toolkit"
121121
mkdir -p $CUDA_PATH
122122
mv $CACHE_TMP_DIR/* $CUDA_PATH
123+
rmdir $CACHE_TMP_DIR
123124
124125
- name: Upload CTK cache
125126
if: ${{ always() &&

.github/actions/fetch_ctk/guess_latest.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
26
# URL to search
37
URL="https://developer.download.nvidia.com/compute/cuda/redist/"
48

0 commit comments

Comments
 (0)