Skip to content

Commit

Permalink
fix extract
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 8, 2024
1 parent 9456177 commit 2f2046d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,9 @@ runs:
if: ${{ steps.ctk-get-cache.outcome == 'success' }}
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
CUDA_PATH="./cuda_toolkit"
tar -xzvf $CTK_CACHE_FILENAME
ls -l $CUDA_PATH
if [ ! -d "$CUDA_PATH/include" ]; then
exit 1
Expand Down
5 changes: 2 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ runs:
- 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
CUDA_PATH="./cuda_toolkit"
tar -xzvf $CTK_CACHE_FILENAME
ls -l $CUDA_PATH
if [ ! -d "$CUDA_PATH/include" ]; then
exit 1
Expand Down

0 comments on commit 2f2046d

Please sign in to comment.