Skip to content

Commit

Permalink
(Workflow) initial
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRohn committed Mar 19, 2024
1 parent c121e2b commit b2df665
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ jobs:
run: |
cd $env:INSTALLER_DIR
.\APInstaller.CLI.exe --selfUpdate
if ($LASTEXITCODE -eq 1) {
Write-Host "No update available. Exiting with code 0 as success."
$LASTEXITCODE = 0
}
if ($LASTEXITCODE -ne 0) {
throw "Update failed with exit code $LASTEXITCODE."
}

0 comments on commit b2df665

Please sign in to comment.