Commit af47530
committed
release: don't let a WinGet publish failure block Scoop/Homebrew
Publish to WinGet ran before Update Homebrew tap, and GitHub Actions
stops a job at its first failed step by default — so any WinGet
failure was silently skipping the Homebrew tap update too, even
though the two publish targets are unrelated. This was masked on the
v0.10.0 release only because Scoop happens to run earlier in the file
and had already pushed before WinGet failed.
vedantmgoyal9/winget-releaser also can't submit a package that has
never been published to winget-pkgs before — it only updates an
existing manifest — so until casablanque-code.zt is submitted once
manually (wingetcreate submit), this step is expected to fail on
every release.
Add continue-on-error to the WinGet step so Homebrew still runs
after it regardless, then a final always()-gated step that checks
steps.winget.outcome and fails the job (with a pointer to the
wingetcreate fix) if WinGet didn't succeed — so the gap stays visible
without blocking the other two targets.1 parent c89f232 commit af47530
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| |||
158 | 170 | | |
159 | 171 | | |
160 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
0 commit comments