Skip to content

Commit

Permalink
GitHub workflow Windows runners use PowerShell by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Dec 5, 2023
1 parent 32d52fe commit 929b437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build
run: msbuild.exe c-reusables.sln /p:Configuration=Debug /p:Platform=Win32
- name: Test
run: for %t in ("tests\Debug\test-*.exe") do %t
run: Get-ChildItem -Path .\tests\Debug\ -File "test-*.exe" | Foreach {Write $_.FullName; Invoke-Expression $_.FullName}

windows-64:
runs-on: windows-latest
Expand All @@ -48,4 +48,4 @@ jobs:
- name: Build
run: msbuild.exe c-reusables.sln /p:Configuration=Debug /p:Platform=x64
- name: Test
run: for %t in ("tests\Debug\test-*.exe") do %t
run: Get-ChildItem -Path .\tests\Debug\ -File "test-*.exe" | Foreach {Write $_.FullName; Invoke-Expression $_.FullName}

0 comments on commit 929b437

Please sign in to comment.