File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2323 using : composite
2424 steps :
2525 - name : Set up CTK cache variable
26- shell : bash -xeuo pipefail {0}
26+ shell : bash --noprofile --norc - xeuo pipefail {0}
2727 run : |
2828 HASH=$(echo -n "${{ inputs.cuda-components }}" | sha256sum | awk '{print $1}')
2929 echo "CTK_CACHE_KEY=mini-ctk-${{ inputs.cuda-version }}-${{ inputs.host-platform }}-$HASH" >> $GITHUB_ENV
4848
4949 - name : Get CUDA components
5050 if : ${{ steps.ctk-get-cache.outputs.cache-hit != 'true' }}
51- shell : bash -xeuo pipefail {0}
51+ shell : bash --noprofile --norc - xeuo pipefail {0}
5252 run : |
5353 # Everything under this folder is packed and stored in the GitHub Cache space,
5454 # and unpacked after retrieving from the cache.
@@ -128,7 +128,7 @@ runs:
128128
129129 - name : Restore CTK cache
130130 if : ${{ steps.ctk-get-cache.outputs.cache-hit == 'true' }}
131- shell : bash -xeuo pipefail {0}
131+ shell : bash --noprofile --norc - xeuo pipefail {0}
132132 run : |
133133 ls -l
134134 CACHE_TMP_DIR="./cache_tmp_dir"
@@ -144,7 +144,7 @@ runs:
144144 fi
145145
146146 - name : Set output environment variables
147- shell : bash -xeuo pipefail {0}
147+ shell : bash --noprofile --norc - xeuo pipefail {0}
148148 run : |
149149 CUDA_PATH=$(realpath "./cuda_toolkit")
150150 echo "CUDA_PATH=${CUDA_PATH}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ jobs:
128128 GFW_EXE_URL : https://github.com/git-for-windows/git/releases/download/v2.49.0.windows.1/PortableGit-2.49.0-64-bit.7z.exe
129129 run : |
130130 Invoke-WebRequest -Uri "$env:GFW_EXE_URL" -OutFile "PortableGit.7z.exe"
131+ # https://gitforwindows.org/zip-archives-extracting-the-released-archives.html
131132 Start-Process .\PortableGit.7z.exe -Wait -Verbose -ArgumentList '-y -gm2'
132133 ls -l PortableGit
133134 New-Item -Path PortableGit\bash.exe -ItemType SymbolicLink -Value PortableGit\git-bash.exe
You can’t perform that action at this time.
0 commit comments