Commit d7c47eb
committed
github-release: add a function to download assets from a GitHub Release
It requires an amazingly unintuitive process to do something as
commonplace as downloading release assets. That's why I originally
preferred to let the GitHub CLI deal with it an be done with it.
However, I want to avoid the necessity to have that GitHub CLI installed
on self-hosted runners, so let's reimplement this using the plain (or
actually, not so plain, as indicated above) REST API.
Note that I still punt on replacing the `curl` call; It strikes me as
not so bad, given that a `curl` version that seems good enough to handle
my request is installed on all-but-ancient Windows versions by default
(see https://curl.se/windows/microsoft.html for details).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 59cbfd5 commit d7c47eb
1 file changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
306 | 334 | | |
307 | 335 | | |
308 | 336 | | |
| |||
318 | 346 | | |
319 | 347 | | |
320 | 348 | | |
321 | | - | |
322 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
0 commit comments