diff options
author | Alec Scott <hi@alecbcs.com> | 2024-07-09 04:46:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 04:46:09 +0200 |
commit | 7c5fbee327f7735e1ac5a7cf1a55a292428f0690 (patch) | |
tree | d6ac8920ce70324b5b7cef0dcd51ceed73c0f7b0 /.github/workflows/bin/execute_installer.ps1 | |
parent | b19c4cdcf66beb1c2386bec64e8071bc6d559ab1 (diff) | |
download | spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.gz spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.bz2 spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.xz spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.zip |
Improve organization of CI workflow scripts and pip requirements (#45037)
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)" +} |