Skip to content

Commit

Permalink
fixup! CI: set environment in windows variable properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Puerling committed Sep 11, 2024
1 parent 654ef3f commit 2a087c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ jobs:
run: |
choco install llvm ninja -y
choco upgrade llvm
echo "CMAKE_FLAGS=$env:CMAKE_FLAGS -G Ninja" >> $env:GITHUB_ENV
if ($env:CMAKE_FLAGS) {
$env:CMAKE_FLAGS = "$env:CMAKE_FLAGS -G Ninja"
} else {
$env:CMAKE_FLAGS = "-G Ninja"
}
"CMAKE_FLAGS=$env:CMAKE_FLAGS" | Out-File -FilePath $env:GITHUB_ENV -Append
- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 2a087c8

Please sign in to comment.