diff --git a/.gitea/workflows/discover-windows.yml b/.gitea/workflows/discover-windows.yml index f5854eb..17a15bf 100644 --- a/.gitea/workflows/discover-windows.yml +++ b/.gitea/workflows/discover-windows.yml @@ -159,6 +159,12 @@ jobs: Set-Content -Path dist\SHA256.txt -Value "$hash discover_printers.exe" -Encoding ASCII Write-Host "sha256 $hash" + # The usage run above exits 1 on purpose, and PowerShell hands the + # last native command's exit code to the runner when a script ends - + # so without this a build that passed every check was reported + # failed (run 414). + exit 0 + - name: Upload the executable uses: actions/upload-artifact@v3 with: