Skip to content

Commit c304962

Browse files
kevinAlbskou
andauthored
revise Powershell PATH setting
Use capital `$Env` instead of `$env` to match conventions. Prefix `PATH` to avoid referring unintentional binaries. Prefer `\` over `/` to match conventions. Co-authored-by: Sutou Kouhei <[email protected]>
1 parent dede492 commit c304962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cmake --install build --prefix tmp/install --config Debug
4040
cmake -S test/app -B test/app/build -DCMAKE_INSTALL_PREFIX=tmp/install
4141
cmake --build test/app/build
42-
$env:PATH+=";$PWD/tmp/install/bin"
42+
$Env:PATH = "$PWD\tmp\install\bin;$Env:PATH"
4343
test/app/build/Debug/app.exe
4444
- name: Test Consuming (Unix)
4545
if: ${{ matrix.os != 'windows-latest' }}

0 commit comments

Comments
 (0)