We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 670659f commit cd556d6Copy full SHA for cd556d6
1 file changed
.github/actions/install-llvm/action.yml
@@ -12,7 +12,7 @@ runs:
12
- name: Cache LLVM installer
13
uses: actions/cache@v5
14
with:
15
- path: ${{ env.USERPROFILE }}\\llvm-temp
+ path: ${{ runner.temp }}/llvm-temp
16
key: llvm-21.1.8-win64
17
18
- name: Download and install LLVM
@@ -21,12 +21,10 @@ runs:
21
$ErrorActionPreference = 'Stop'
22
23
$Version = '21.1.8'
24
- $HOME_DIR = if ($env:HOME) { $env:HOME } else { $env:USERPROFILE }
25
-
26
$url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${Version}/LLVM-${Version}-win64.exe"
27
28
- $llvmTemp = "$HOME_DIR/llvm-temp"
29
- $install = "$llvmTemp/llvm.exe"
+ $llvmTemp = Join-Path $env:RUNNER_TEMP 'llvm-temp'
+ $install = Join-Path $llvmTemp 'llvm.exe'
30
31
# download
32
Write-Host "Downloading LLVM..."
0 commit comments