Skip to content

Commit 1a15869

Browse files
committed
fix cache restoration
1 parent a2d55d8 commit 1a15869

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/actions/fetch_ctk/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ runs:
107107
tar -czvf ${CTK_CACHE_FILENAME} ${CACHE_TMP_DIR}
108108
109109
CUDA_PATH="./cuda_toolkit"
110-
mkdir -p $CUDA_PATH
110+
mkdir $CUDA_PATH
111111
mv $CACHE_TMP_DIR/* $CUDA_PATH
112112
rmdir $CACHE_TMP_DIR
113113
@@ -125,8 +125,9 @@ runs:
125125
run: |
126126
ls -l
127127
CACHE_TMP_DIR="./cache_tmp_dir"
128-
CUDA_PATH="./cuda_toolkit"
129128
tar -xzvf $CTK_CACHE_FILENAME
129+
CUDA_PATH="./cuda_toolkit"
130+
mkdir $CUDA_PATH
130131
mv $CACHE_TMP_DIR/* $CUDA_PATH
131132
rmdir $CACHE_TMP_DIR
132133
ls -l $CUDA_PATH

.github/workflows/install_gpu_driver.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#Requires -RunAsAdministrator
1+
# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
24

35
# Install the driver
46
function Install-Driver {
@@ -23,7 +25,7 @@ function Install-Driver {
2325
$ProgressPreference = $ProgressPreference_tmp
2426
Write-Output 'Download complete!'
2527

26-
# Install the file with the specified path from earlier as well as the RunAs admin option
28+
# Install the file with the specified path from earlier
2729
Write-Output 'Running the driver installer...'
2830
Start-Process -FilePath $file_dir -ArgumentList $install_args -Wait
2931
Write-Output 'Done!'

0 commit comments

Comments
 (0)