Commit 0866bee
committed
ci: move release actions off the deprecated Node 20 runtime
Every release run logs a Node 20 deprecation warning per step, and closes with:
"The following actions target Node.js 20 but are being forced to run on Node.js
24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4,
actions/upload-artifact@v4."
Nothing is broken — GitHub is shimming them onto Node 24 — but the shim is
temporary, so pin majors that target node24 natively:
checkout v4 -> v7
setup-node v4 -> v7
cache v4 -> v6
upload-artifact v4 -> v7
download-artifact v4 -> v8
Node 24 actions require Actions Runner >= 2.327.1; the hosted images run 2.335.1
(per the v0.9.2 build log) and self-update, so nothing to do there.
The majors were picked against how this workflow actually uses them, and each
one's breaking change was checked rather than assumed:
· setup-node v6 limits automatic caching to npm — this workflow never sets
setup-node's `cache:` input (npm caching is the explicit actions/cache step),
so it's a no-op here.
· checkout v7 blocks fork checkouts for pull_request_target / workflow_run —
neither is a trigger (tag push + workflow_dispatch).
· upload-artifact v7's unzipped "direct uploads" are opt-in via `archive:`;
the default still zips, so the .app.zip round-trip is unchanged.
· download-artifact v8 now ERRORS on a digest mismatch instead of warning.
Kept deliberately: a corrupted app bundle must not reach a release we then
sign and notarize. A spurious failure is recoverable by re-running the job.
Verified every input this workflow passes is still declared in the new majors
(notably download-artifact's `merge-multiple`, which the draft-release job
depends on), that all five now report `using: node24`, and that the YAML still
parses with both matrix arches and triggers intact.1 parent 7fd4786 commit 0866bee
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
27 | | - | |
28 | | - | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
82 | | - | |
83 | | - | |
| 93 | + | |
| 94 | + | |
84 | 95 | | |
85 | 96 | | |
86 | 97 | | |
87 | | - | |
| 98 | + | |
88 | 99 | | |
89 | 100 | | |
90 | 101 | | |
| |||
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
101 | | - | |
| 112 | + | |
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
| |||
111 | 122 | | |
112 | 123 | | |
113 | 124 | | |
114 | | - | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
0 commit comments