Skip to content

Commit 1ced040

Browse files
Add CMake bin dir to command search path explicitly
1 parent 17d5d8c commit 1ced040

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ jobs:
125125
# Check Windows build with CMake
126126
- uses: Cyberboss/install-winget@v1
127127
- run: winget install Ninja-build.Ninja Kitware.CMake --disable-interactivity --accept-source-agreements
128-
- run: echo "$env:LOCALAPPDATA\Microsoft\WinGet\Links" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
128+
- run: |
129+
echo "$env:LOCALAPPDATA\Microsoft\WinGet\Links" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
130+
echo "$env:ProgramFiles\CMake\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
129131
- run: cmake -G Ninja -B .build/cmake
130132
- run: cmake --build .build/cmake
131133
# Run tests with SwiftPM

0 commit comments

Comments
 (0)