From e0b4ad9db99051aad315047fa642066939797c71 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sun, 14 Jul 2024 01:15:11 +0100 Subject: [PATCH] fix: new sxsc changes --- .github/workflows/apbx.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/apbx.yaml b/.github/workflows/apbx.yaml index 6bc74d0a71..56502e5c36 100644 --- a/.github/workflows/apbx.yaml +++ b/.github/workflows/apbx.yaml @@ -69,6 +69,9 @@ jobs: Write-Output "Installing dependencies..." pip install -r requirements.txt | Out-Null + Write-Output "Making certificate..." + $thumbprint = .\make-cert.ps1 + $atlasSrcPath = '..\Atlas\src\' $packagePath = "$atlasSrcPath\playbook\Executables\AtlasModules\Packages" mkdir $packagePath -EA 0 | Out-Null @@ -84,10 +87,10 @@ jobs: Write-Output "Generating package files..." python sxsc.py - if ($LASTEXITCODE -ne 0) { exit 1 } + if ($LASTEXITCODE -ne 0) { throw "sxsc.py didn't return 0!" } Write-Output "Building package..." - .\build.bat + .\start-build.ps1 -Thumbprint $thumbprint Write-Output "Copying package to AtlasModules..." Get-ChildItem -File -Recurse -Filter *.cab | ForEach-Object { @@ -95,7 +98,7 @@ jobs: } Write-Output "Cleaning up..." - .\clean.bat + .\clean.ps1 } working-directory: ..\sxsc if: env.runSxsc == 'true'