Skip to content

Commit

Permalink
fix: new sxsc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 14, 2024
1 parent 5ddda43 commit e0b4ad9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/apbx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -84,18 +87,18 @@ 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 {
Copy-Item -Path $_.FullName -Destination $packagePath -Force
}
Write-Output "Cleaning up..."
.\clean.bat
.\clean.ps1
}
working-directory: ..\sxsc
if: env.runSxsc == 'true'
Expand Down

0 comments on commit e0b4ad9

Please sign in to comment.