Commit d314b25
committed
ci(release): fail fast if macOS signing secrets are missing
tauri-action silently produces an unsigned .app when any of
APPLE_CERTIFICATE / APPLE_CERTIFICATE_PASSWORD / APPLE_SIGNING_IDENTITY /
APPLE_ID / APPLE_PASSWORD / APPLE_TEAM_ID is empty at build time. The
0.10.20 macOS-x64 row apparently shipped under exactly this condition,
producing a CS_LINKER_SIGNED-only binary that taskgated rejects with
"Code Signature Invalid" the moment dyld_start runs.
Add a one-step guard ahead of the tauri-action step that runs only on
macOS matrix rows and exits non-zero (with a ::error:: annotation
naming the missing variables) if any of the six are unset. Costs ~200ms
of CI time, turns this exact failure mode into a loud red X.1 parent a7457e1 commit d314b25
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
171 | 202 | | |
172 | 203 | | |
173 | 204 | | |
| |||
0 commit comments