Skip to content

Commit

Permalink
fix download path
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 8, 2024
1 parent 8ec6090 commit 9456177
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
continue-on-error: true
with:
name: ${{ env.CTK_CACHE_KEY }}
path: ./${{ env.CTK_CACHE_FILENAME }}
path: ./

- name: Get CUDA components
if: ${{ steps.ctk-get-cache.outcome == 'failure' }}
Expand Down Expand Up @@ -136,6 +136,7 @@ runs:
run: |
CUDA_PATH="./cuda_toolkit"
mkdir $CUDA_PATH
ls -l
tar -xzvf $CTK_CACHE_FILENAME -C $CUDA_PATH --strip-components=1
ls -l $CUDA_PATH
if [ ! -d "$CUDA_PATH/include" ]; then
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ runs:
continue-on-error: true
with:
name: ${{ env.CTK_CACHE_KEY }}
path: ./${{ env.CTK_CACHE_FILENAME }}
path: ./

- name: Restore CTK cache
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
CUDA_PATH="./cuda_toolkit"
mkdir $CUDA_PATH
ls -l
tar -xzvf $CTK_CACHE_FILENAME -C $CUDA_PATH --strip-components=1
ls -l $CUDA_PATH
if [ ! -d "$CUDA_PATH/include" ]; then
Expand Down

0 comments on commit 9456177

Please sign in to comment.