From 6b02576a6d4e9613d549c718679b5f2f13e7203c Mon Sep 17 00:00:00 2001 From: Abas-Tim <8209950+Abas-Tim@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:17:02 -0700 Subject: [PATCH] ci: exit cleanly after the rawspeed-cli smoke test The smoke test intentionally runs rawspeed-cli without arguments, and the tool exits with code 2 after printing its usage. The GitHub Actions runner appends `exit $LASTEXITCODE` to pwsh scripts, so the step inherited that 2 and was marked failed even though the check itself passed ("smoke test ok"). End the step with an explicit exit 0 on success; the throw on failure is unchanged. AI assistance disclosure: prepared with AI assistance (opencode), per AGENTS.md disclosure rules. --- .github/workflows/rawspeed-cli.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rawspeed-cli.yml b/.github/workflows/rawspeed-cli.yml index 154471cc5..8bad2c3c4 100644 --- a/.github/workflows/rawspeed-cli.yml +++ b/.github/workflows/rawspeed-cli.yml @@ -63,6 +63,7 @@ jobs: throw "rawspeed-cli smoke test failed: exe=$($exe.FullName) exit=$exitCode output=[$output]" } Write-Output "smoke test ok: $($exe.FullName)" + exit 0 - name: Stage and checksum shell: pwsh