Skip to content

Commit

Permalink
(Workflow) Ongoing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRohn committed Mar 19, 2024
1 parent 0fadd42 commit 21f5033
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ runs:
.\APInstaller.CLI.exe --selfUpdate
if ($LASTEXITCODE -eq 1) {
Write-Host "No update available. Exiting with code 0 as success."
$LASTEXITCODE = 0
exit 0
} elseif ($LASTEXITCODE -eq -1) {
Write-Host "Special case encountered. Exiting with code 0 as success."
exit 0
}
if ($LASTEXITCODE -ne 0) {
throw "Update failed with exit code $LASTEXITCODE."
Expand Down

0 comments on commit 21f5033

Please sign in to comment.