Commit b8b4f25
committed
ci(release): universal mac build, linux deb deps, on-demand cache refresh
Three improvements that all kick in on the next release tag:
* electron mac target: arch=universal so one DMG runs on Apple
Silicon AND Intel. ~2x file size, ~5 min slower job, kills the
"M1-only build" footgun for the ~30% of Mac users still on Intel.
* Linux step apt-installs fakeroot + dpkg before electron-builder.
Without fakeroot the .deb target silently no-ops, which is why
v1.0.3 only shipped an AppImage despite the config asking for both.
* New revalidate-landing job: POSTs to the landing's
/api/revalidate endpoint after a successful build so visitors
don't wait out the 10-minute ISR window. Skips with a notice if
LANDING_REVALIDATE_URL / LANDING_REVALIDATE_SECRET aren't set,
so forks don't break.1 parent 92c195c commit b8b4f25
2 files changed
Lines changed: 35 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments