Skip to content

Commit 8794df9

Browse files
committed
Push/pop repo root directory from checking script
1 parent 86f39e3 commit 8794df9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
2121
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
2222
23+
$originalWorkingDirectory = Get-Location
24+
Set-Location ${{ github.action_path }}\..\..\
25+
2326
& .\find_clang_format.cmd
2427
if ($LASTEXITCODE -ne 0) {
2528
exit $LASTEXITCODE
@@ -43,6 +46,8 @@ jobs:
4346
exit 1
4447
}
4548
49+
Set-Location $originalWorkingDirectory
50+
4651
test-msvc-cppwinrt-build:
4752
name: '${{ matrix.compiler }}: Build (${{ matrix.arch }}, ${{ matrix.config }})'
4853
strategy:

0 commit comments

Comments
 (0)