File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
.github/actions/fetch_ctk Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 50
50
if : ${{ steps.ctk-get-cache.outputs.cache-hit != 'true' }}
51
51
shell : bash --noprofile --norc -xeuo pipefail {0}
52
52
run : |
53
+ # Everything under this folder is packed and stored in the GitHub Cache space,
54
+ # and unpacked after retrieving from the cache.
53
55
CACHE_TMP_DIR="./cache_tmp_dir"
54
56
rm -rf $CACHE_TMP_DIR
55
57
mkdir $CACHE_TMP_DIR
@@ -109,7 +111,7 @@ runs:
109
111
# "Move" files from temp dir to CUDA_PATH
110
112
CUDA_PATH="./cuda_toolkit"
111
113
mkdir -p $CUDA_PATH
112
- # We could have just done "rsync -av $CACHE_TMP_DIR/ $CUDA_PATH"; however,
114
+ # Unfortunately we cannot use "rsync -av $CACHE_TMP_DIR/ $CUDA_PATH" because
113
115
# not all runners have rsync pre-installed (or even installable, such as
114
116
# Git Bash). We do it in the dumb way.
115
117
cp -r $CACHE_TMP_DIR/* $CUDA_PATH
You can’t perform that action at this time.
0 commit comments