Skip to content

Commit 640f616

Browse files
committed
fix job
1 parent f1a1555 commit 640f616

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/setup-rust-windows/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
# install here rather than the VS-bundled LLVM whose clang headers have
1919
# AVX intrinsic bugs. The values are hardcoded literals (no attacker-
2020
# controlled input), so the GITHUB_ENV writes are safe.
21-
- name: Install LLVM for bindgen
21+
- name: Install LLVM for bindgen # zizmor: ignore[github-env]
2222
if: inputs.arch != 'arm64'
2323
shell: cmd
2424
run: |
@@ -27,12 +27,12 @@ runs:
2727
echo LIBCLANG_PATH=C:\Program Files\LLVM\bin>> "%GITHUB_ENV%"
2828
# Chocolatey's LLVM package only ships x64 binaries, which an ARM64-native
2929
# cargo process cannot load. Install the official ARM64 build directly.
30-
- name: Install LLVM for bindgen (ARM64)
30+
- name: Install LLVM for bindgen (ARM64) # zizmor: ignore[github-env]
3131
if: inputs.arch == 'arm64'
3232
shell: pwsh
3333
run: |
3434
$installer = Join-Path $env:RUNNER_TEMP 'LLVM-21.1.0-woa64.exe'
3535
Invoke-WebRequest 'https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.0/LLVM-21.1.0-woa64.exe' -OutFile $installer
3636
Start-Process -Wait -FilePath $installer -ArgumentList '/S','/D=C:\Program Files\LLVM'
3737
if (!(Test-Path 'C:\Program Files\LLVM\bin\libclang.dll')) { exit 1 }
38-
echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV # zizmor: ignore[environment-file]
38+
echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV

0 commit comments

Comments
 (0)