diff options
Diffstat (limited to '.github/workflows/bin/execute_installer.ps1')
-rw-r--r-- | .github/workflows/bin/execute_installer.ps1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/bin/execute_installer.ps1 b/.github/workflows/bin/execute_installer.ps1 new file mode 100644 index 0000000000..9d9f5cfbeb --- /dev/null +++ b/.github/workflows/bin/execute_installer.ps1 @@ -0,0 +1,7 @@ +$ proc = Start-Process ${{ env.spack_installer }}\spack.exe "/install /quiet" -Passthru +$handle = $proc.Handle # cache proc.Handle +$proc.WaitForExit(); + +if ($proc.ExitCode -ne 0) { + Write-Warning "$_ exited with status code $($proc.ExitCode)" +} |