Skip to content

Commit 718f111

Browse files
authored
add inline comments
1 parent 5376e79 commit 718f111

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/fetch_ctk/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ runs:
5050
if: ${{ steps.ctk-get-cache.outputs.cache-hit != 'true' }}
5151
shell: bash --noprofile --norc -xeuo pipefail {0}
5252
run: |
53+
# Everything under this folder is packed and stored in the GitHub Cache space,
54+
# and unpacked after retrieving from the cache.
5355
CACHE_TMP_DIR="./cache_tmp_dir"
5456
rm -rf $CACHE_TMP_DIR
5557
mkdir $CACHE_TMP_DIR
@@ -109,7 +111,7 @@ runs:
109111
# "Move" files from temp dir to CUDA_PATH
110112
CUDA_PATH="./cuda_toolkit"
111113
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
113115
# not all runners have rsync pre-installed (or even installable, such as
114116
# Git Bash). We do it in the dumb way.
115117
cp -r $CACHE_TMP_DIR/* $CUDA_PATH

0 commit comments

Comments
 (0)