Commit 235d4c1
ci: replace thedoctor0/zip-release with in-repo composite action (#512)
## Summary
Replaces the external `thedoctor0/zip-release@0.7.1` GitHub Action with
a local composite action at `.github/actions/zip-release/`. The new
action uses tools built into the GitHub runner images:
- **Linux/macOS:** `zip -r`
- **Windows:** `7z a -tzip`
This matches the exact commands the old action ran internally. All 16
call sites in `sdk-release/action.yml` are updated, and the
now-unnecessary `type: 'zip'` parameter is removed.
### Verification
A temporary test workflow (`test-zip-release.yml`) was used during
development to validate the action on all 3 platforms (Ubuntu 22.04,
Windows 2022, macOS 15). It confirmed:
- Zip files are created with the correct filenames matching sdk-release
expectations
- Internal path structure is `build-static/release/...` (no extra root
folder introduced)
- The action works identically on Linux, macOS, and Windows
The test workflow passed on all platforms and has been removed from the
final PR.
## Review & Testing Checklist for Human
- [ ] **Verify the zip archive internal structure** — the action passes
`path` directly to `zip`/`7z` without `cd`-ing into the directory first,
so archives contain the `build-*/release/` prefix (e.g.,
`build-static/release/include/...`). This matches the old
`thedoctor0/zip-release` behavior. Consider downloading a zip from a
past release and comparing the structure.
- [ ] **Run the manual release workflow against a test tag** to confirm
end-to-end correctness with real build artifacts on all platforms
(`ubuntu-22.04`, `windows-2022`, `macos-15-large`, `macos-15`). The CI
tests used dummy files, not actual build output.
- [ ] **Note the `path` input is unquoted** in `zip-release/action.yml`
— this matches the old action's behavior but means paths with spaces
would break. All current call sites use simple paths so this is fine,
but worth being aware of.
### Notes
- The zip archive internal structure preserves the `build-*/release`
path prefix (e.g., `build-static/release/include/...`), which is the
same behavior as the old `thedoctor0/zip-release` action when given
`path: 'build-static/release'` without changing the working directory.
- No changes to the actual build scripts, hash computation, or upload
steps — only the zip creation step is swapped.
Link to Devin session:
https://app.devin.ai/sessions/029a65c529684166adf9a71e21d32778
Requested by: @kinyoklion
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Touches the release artifact packaging path across
Linux/Windows/macOS; a small command/quoting difference could change zip
contents or fail builds, impacting published releases.
>
> **Overview**
> Replaces all uses of the external `thedoctor0/zip-release` action in
the `sdk-release` composite workflow with a new in-repo composite
action, and removes the now-unused `type: 'zip'` input.
>
> Adds `.github/actions/zip-release` to create archives using
runner-native tooling (`zip -r` on Linux/macOS, `7z a -tzip` on
Windows), keeping artifact filenames and call sites otherwise the same.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
069781c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 79e689c commit 235d4c1
File tree
2 files changed
+37
-32
lines changed- .github/actions
- sdk-release
- zip-release
2 files changed
+37
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
| 83 | + | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | | - | |
| 101 | + | |
104 | 102 | | |
105 | 103 | | |
106 | | - | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
111 | | - | |
| 108 | + | |
112 | 109 | | |
113 | 110 | | |
114 | | - | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| |||
165 | 161 | | |
166 | 162 | | |
167 | 163 | | |
168 | | - | |
| 164 | + | |
169 | 165 | | |
170 | 166 | | |
171 | | - | |
172 | 167 | | |
173 | 168 | | |
174 | 169 | | |
175 | 170 | | |
176 | | - | |
| 171 | + | |
177 | 172 | | |
178 | 173 | | |
179 | | - | |
180 | 174 | | |
181 | 175 | | |
182 | 176 | | |
183 | 177 | | |
184 | | - | |
| 178 | + | |
185 | 179 | | |
186 | 180 | | |
187 | | - | |
188 | 181 | | |
189 | 182 | | |
190 | 183 | | |
191 | 184 | | |
192 | | - | |
| 185 | + | |
193 | 186 | | |
194 | 187 | | |
195 | | - | |
196 | 188 | | |
197 | 189 | | |
198 | 190 | | |
| |||
208 | 200 | | |
209 | 201 | | |
210 | 202 | | |
211 | | - | |
| 203 | + | |
212 | 204 | | |
213 | 205 | | |
214 | | - | |
215 | 206 | | |
216 | 207 | | |
217 | 208 | | |
218 | 209 | | |
219 | | - | |
| 210 | + | |
220 | 211 | | |
221 | 212 | | |
222 | | - | |
223 | 213 | | |
224 | 214 | | |
225 | 215 | | |
226 | 216 | | |
227 | | - | |
| 217 | + | |
228 | 218 | | |
229 | 219 | | |
230 | | - | |
231 | 220 | | |
232 | 221 | | |
233 | 222 | | |
234 | 223 | | |
235 | | - | |
| 224 | + | |
236 | 225 | | |
237 | 226 | | |
238 | | - | |
239 | 227 | | |
240 | 228 | | |
241 | 229 | | |
| |||
278 | 266 | | |
279 | 267 | | |
280 | 268 | | |
281 | | - | |
| 269 | + | |
282 | 270 | | |
283 | 271 | | |
284 | | - | |
285 | 272 | | |
286 | 273 | | |
287 | 274 | | |
288 | 275 | | |
289 | | - | |
| 276 | + | |
290 | 277 | | |
291 | 278 | | |
292 | | - | |
293 | 279 | | |
294 | 280 | | |
295 | 281 | | |
| |||
305 | 291 | | |
306 | 292 | | |
307 | 293 | | |
308 | | - | |
| 294 | + | |
309 | 295 | | |
310 | 296 | | |
311 | | - | |
312 | 297 | | |
313 | 298 | | |
314 | 299 | | |
315 | 300 | | |
316 | | - | |
| 301 | + | |
317 | 302 | | |
318 | 303 | | |
319 | | - | |
320 | 304 | | |
321 | 305 | | |
322 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments