Skip to content

Commit ecc3832

Browse files
committed
init scriptblock
1 parent 0b43429 commit ecc3832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ jobs:
7676
- name: Test examples
7777
shell: powershell
7878
run: |
79-
Start-Job -WorkingDirectory build/install/bin -ScriptBlock { ls; .\simple_module.exe asdf | Select-String -Pattern "Module listening on" } | Wait-Job -Timeout 2 | Receive-Job
79+
Start-Job -Init ([ScriptBlock]::Create("Set-Location '$pwd'/build/install/bin")) -ScriptBlock { ls; .\simple_module.exe asdf | Select-String -Pattern "Module listening on" } | Wait-Job -Timeout 2 | Receive-Job

0 commit comments

Comments
 (0)