From e1dcfbb4e42789af22d3e2aa40d78571a8fecf89 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 10 Jan 2024 10:26:07 -0600 Subject: [PATCH] Try bash on HyperV --- .gitlab-ci-build.yml.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci-build.yml.in b/.gitlab-ci-build.yml.in index c652e2f..b1e1590 100644 --- a/.gitlab-ci-build.yml.in +++ b/.gitlab-ci-build.yml.in @@ -79,14 +79,10 @@ hyperv-iso.amd64: tag: hyperv parallel: matrix: [] - script: - - echo $env:COMMAND > build.ps1 - - echo 'if (-not $?) { throw "Error in build"}' >> build.ps1 - - pwsh .\build.ps1 after_script: |- - if ( "$CI_JOB_STATUS" -eq "success" ) { + if [ "$CI_JOB_STATUS" == "success" ]; then xonsh test.xsh - } + fi "Create release": stage: release