Commit 94c43a9
Fix CI FFmpeg setup: scope per-OS + Windows zip extract fallback
The build steps ran download-ffmpeg.js with no arg (default 'both'), so each
runner fetched and extracted *both* platform binaries — coupling each job to
the other OS's extractor. The Windows job then failed because the win .zip is
extracted with unzip, which isn't on the windows-latest runner.
Scope each job to its own platform (linux/win), and make the win extraction
fall back from unzip to bsdtar (tar -xf, present on windows-latest) so the
Windows runner can unpack the zip. Linux/cross-compile dev still use unzip.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 55dc52d commit 94c43a9
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments