bashonly
ab3ff2d5dd
[build] Harden CI/CD pipeline ( #15387 )
...
* NOTE: the release workflows' new handling of secrets
may be a breaking change for forks that are using any secrets
other than GPG_SIGNING_KEY or ARCHIVE_REPO_TOKEN.
Previously, the release workflow would try to resolve a token
secret name based on the `target` or `source` input,
e.g. NIGHTLY_ARCHIVE_REPO_TOKEN or CUSTOM_ARCHIVE_REPO_TOKEN,
and then fall back to using the ARCHIVE_REPO_TOKEN secret if the
resolved token secret name was not found in the repository.
This behavior has been replaced by the release workflow
always using the ARCHIVE_REPO_TOKEN secret as the token
for publishing releases to any external archive repository.
* Add zizmor CI job for auditing workflows
* Pin all actions to commit hashes instead of symbolic references
* Explicitly set GITHUB_TOKEN permissions at the job level
* Use actions/checkout with `persist-credentials: false` whenever possible
* Remove/replace template expansions in workflow scripts
* Remove all usage of actions/cache from build/release workflows
* Remove the cache-warmer.yml workflow
* Remove the unused download.yml workflow
* Set concurrency limits for any workflows that are triggered by PRs
* Avoid loading the entire secrets context
* Replace usage of `secrets: inherit` with explicit `secrets:` blocks
* Pin all external docker images to hash that are used by the build workflow
* Explicitly set `shell: bash` for some steps to avoid pwsh or set pipefail
* Ensure any pwsh steps will fail on non-zero exit codes
Authored by: bashonly
2025-12-30 21:05:10 +00:00
bashonly
a6a8f6b6d6
[ci] Explicitly declare permissions and limit credentials ( #15324 )
...
Authored by: bashonly
2025-12-19 19:22:23 +00:00
bashonly
825648a740
[build] Bump official actions to latest versions ( #15305 )
...
* Bump actions/cache → v5
* Bump actions/upload-artifact → v6
* Bump actions/download-artifact → v7
Authored by: bashonly
2025-12-19 19:04:52 +00:00
bashonly
7a52ff29d8
[cleanup] Misc ( #15016 )
...
Closes #15160 , Closes #15184
Authored by: bashonly, seproDev, RezSat, oxyzenQ
Co-authored-by: sepro <sepro@sepr0.com >
Co-authored-by: Yehan Wasura <yehantest@gmail.com >
Co-authored-by: rezky_nightky <with.rezky@gmail.com >
2025-12-07 23:58:34 +00:00
bashonly
29fe515d8d
[devscripts] install_deps: Align options/terms with PEP 735 ( #15200 )
...
Authored by: bashonly
2025-12-07 23:39:05 +00:00
bashonly
2801650268
[build] Bump PyInstaller minimum version requirement to 6.17.0 ( #15199 )
...
Ref: https://github.com/pyinstaller/pyinstaller/issues/9149
Authored by: bashonly
2025-11-29 21:18:49 +00:00
bashonly
646904cd3a
[build] Bump musllinux Python version to 3.14 ( #14623 )
...
Authored by: bashonly
2025-11-09 01:33:30 +00:00
Simon Sawicki
6224a38988
[ie/youtube] Implement external n/sig solver ( #14157 )
...
Closes #14404 , Closes #14431 , Closes #14680 , Closes #14707
Authored by: bashonly, coletdjnz, seproDev, Grub4K
Co-authored-by: coletdjnz <coletdjnz@protonmail.com >
Co-authored-by: bashonly <bashonly@protonmail.com >
Co-authored-by: sepro <sepro@sepr0.com >
2025-10-31 23:13:04 +01:00
bashonly
73922e66e4
[devscripts] Improve install_deps script ( #14766 )
...
Authored by: bashonly
2025-10-25 22:47:00 +00:00
bashonly
de7b3c0705
[cleanup] Misc ( #14701 )
...
Authored by: bashonly
2025-10-22 19:25:35 +00:00
sepro
c7bda2192a
[cleanup] Misc ( #14594 )
...
Authored by: seproDev, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2025-10-15 11:16:50 +00:00
bashonly
4e6a693057
Remove Python 3.9 support ( #13861 )
...
Closes #13858
Authored by: bashonly
2025-10-15 10:25:21 +00:00
bashonly
df4b4e8ccf
[build] Use PyInstaller 6.16 for Windows ( #14318 )
...
Authored by: bashonly
2025-09-13 22:50:34 +00:00
bashonly
e2d37bcc8e
[build] Refactor Linux build jobs ( #14275 )
...
Authored by: bashonly
2025-09-13 21:20:28 +00:00
bashonly
22ea0688ed
[ci] Bump actions/setup-python to v6 ( #14282 )
...
Authored by: bashonly
2025-09-10 21:29:12 +00:00
bashonly
c8ede5f34d
[build] Use new PyInstaller builds for Windows ( #14273 )
...
Authored by: bashonly
2025-09-08 22:44:36 +00:00
bashonly
8597a4331e
[build] Fix cache warmer ( #14261 )
...
Fix 50136eeeb3
Authored by: bashonly
2025-09-07 00:57:20 +00:00
bashonly
cd94e70040
[build] Post-release workflow cleanup ( #14250 )
...
Authored by: bashonly
2025-09-06 05:41:43 +00:00
bashonly
50136eeeb3
[build] Overhaul Linux builds and refactor release workflow ( #13997 )
...
- Use `manylinux-shared` images for Linux builds
- Discontinue `yt-dlp_linux_armv7l`/`linux_armv7l_exe` release binary
- Add `yt-dlp_linux_armv7l.zip`/`linux_armv7l_dir` release binary
- Add `yt-dlp_musllinux` and `yt-dlp_musllinux_aarch64` release binaries
- Migrate `linux_exe` build strategy from staticx+musl to manylinux2014/glibc2.17
- Rewrite release.yml's "unholy bash monstrosity" as devscripts/setup_variables.py
Closes #10072 , Closes #10630 , Closes #10578 , Closes #13976 , Closes #13977 , Closes #14106
Authored by: bashonly
2025-09-05 22:38:20 +00:00
bashonly
415b6d9ca8
[build] Post-release workflow cleanup ( #14090 )
...
Authored by: bashonly
2025-08-20 06:17:45 +00:00
bashonly
07247d6c20
[build] Add Windows ARM64 builds ( #14003 )
...
Adds yt-dlp_arm64.exe and yt-dlp_win_arm64.zip to release assets
Closes #13849
Authored by: bashonly
2025-08-20 02:28:00 +00:00
bashonly
aea85d525e
[build] Discontinue darwin_legacy_exe support ( #13860 )
...
* Removes "yt-dlp_macos_legacy" from release assets
* Discontinues executable support for macOS < 10.15
Closes #13856
Authored by: bashonly
2025-08-13 22:02:58 +00:00
bashonly
681ed2153d
[build] Bump PyInstaller version to 6.15.0 for Windows ( #14002 )
...
Authored by: bashonly
2025-08-12 23:17:13 +00:00
bashonly
8175f3738f
[rh:requests] Bump minimum required version of urllib3 to 2.0.2 ( #13939 )
...
- urllib3 1.26.x gives unexpected results with partial reads: https://github.com/urllib3/urllib3/issues/2128
- urllib3 2.0.0 and 2.0.1 were yanked from PyPI: https://github.com/urllib3/urllib3/issues/3009
Closes #13927
Authored by: bashonly
2025-08-06 19:00:53 +00:00
bashonly
66aa21dc5a
[build] Use macos-14 runner for macos builds ( #13814 )
...
Ref: https://github.blog/changelog/2025-07-11-upcoming-changes-to-macos-hosted-runners-macos-latest-migration-and-xcode-support-policy-updates/#macos-13-is-closing-down
Authored by: bashonly
2025-07-26 19:39:54 +00:00
bashonly
201812100f
[build] Fix macOS requirements caching ( #13328 )
...
Authored by: bashonly
2025-05-28 18:13:48 +00:00
bashonly
17cf9088d0
[build] Bump PyInstaller to v6.13.0 ( #13082 )
...
Ref: https://github.com/yt-dlp/yt-dlp/issues/10294
Authored by: bashonly
2025-05-03 17:10:31 +00:00
bashonly
9064d2482d
[build] Bump run-on-arch-action to v3 ( #13088 )
...
Authored by: bashonly
2025-05-03 17:08:24 +00:00
bashonly
f9c8deb4e5
[build] Bump PyInstaller version pin to >=6.11.1 ( #11507 )
...
Authored by: bashonly
2024-11-11 21:19:03 +00:00
bashonly
f13df591d4
[build] Enable attestations for trusted publishing ( #11420 )
...
Reverts 428ffb75aa
Authored by: bashonly
2024-11-09 23:26:02 +00:00
bashonly
d784464399
Remove Python 3.8 support ( #11321 )
...
Closes #10086
Authored by: bashonly
2024-10-23 06:33:50 +00:00
bashonly
dd2e244469
[build] Use Ubuntu 20.04 and Python 3.9 for Linux ARM builds ( #8638 )
...
Authored by: bashonly
2024-10-22 13:09:43 -05:00
bashonly
ea9e35d85f
[cleanup] Misc ( #11311 )
...
Authored by: bashonly
2024-10-22 06:03:30 +00:00
bashonly
a886cf3e90
[build] Migrate py2exe builds to win_exe ( #11256 )
...
This commit removes py2exe support
Closes #10087
Authored by: bashonly
2024-10-22 04:20:20 +00:00
bashonly
64d84d75ca
[build] Use macos-13 image for macOS builds ( #11236 )
...
Authored by: bashonly
2024-10-15 07:07:42 +00:00
bashonly
fb8b7f226d
[build] Bump PyInstaller version pin to >=6.10.0 ( #10709 )
...
Authored by: bashonly
2024-09-25 23:07:17 +00:00
bashonly
7e41628ff5
[build] Pin delocate version for macos ( #10901 )
...
Authored by: bashonly
2024-09-01 23:56:50 +00:00
bashonly
644d84d778
Revert 4f8448896e
...
curl-cffi 0.5.10 does not support Windows 32-bit
Authored by: bashonly
2024-07-12 14:34:19 -05:00
bashonly
4f8448896e
[build] Include curl_cffi in yt-dlp_x86.exe
...
Authored by: bashonly
2024-07-09 18:36:15 -05:00
bashonly
6aaf96a3d6
[cleanup] Misc ( #10075 )
...
Closes #10303
Authored by: bashonly, seproDev, jucor, c-basalt
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
Co-authored-by: Julien Cornebise <julien@cornebise.com >
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com >
2024-07-01 22:51:27 +00:00
bashonly
46c1b7cfec
[build] Cache dependencies for macos job ( #10088 )
...
Authored by: bashonly
2024-06-13 21:13:08 +00:00
bashonly
5fdd13006a
[build] Bump Pyinstaller to >=6.7.0 for all builds ( #10069 )
...
Ref: https://github.com/pyinstaller/pyinstaller/issues/8554
Authored by: bashonly, seproDev
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
2024-05-30 22:34:02 +00:00
bashonly
03334d639d
[build] Use macos-12 image for yt-dlp_macos ( #10063 )
...
Ref: https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/
Authored by: bashonly
2024-05-30 18:53:37 +00:00
Simon Sawicki
3f7999533e
[rh:requests] Patch support for requests 2.32.2+ ( #9992 )
...
Authored by: Grub4K
2024-05-22 16:22:25 +02:00
Simon Sawicki
ac817bc83e
[build] Migrate linux_exe to static musl builds ( #9811 )
...
Authored by: Grub4K, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2024-04-28 22:19:25 +00:00
bashonly
1a366403d9
[build] Run macos_legacy job on macos-12 ( #9804 )
...
`macos-latest` has been bumped to `macos-14-arm64` which breaks the builds
Authored by: bashonly
2024-04-28 15:35:17 +00:00
bashonly
02483bea1c
[build] Normalize curl_cffi group to curl-cffi ( #9698 )
...
Closes #9682
Authored by: bashonly
2024-04-18 23:11:12 +00:00
bashonly
b19ae095fd
[build] Do not include curl_cffi in macos_legacy ( #9653 )
...
Authored by: bashonly
2024-04-08 23:20:58 +00:00
bashonly
e8032503b9
[build] Print SHA sums to GHA logs ( #9582 )
...
Authored by: bashonly
2024-04-01 17:02:25 +00:00
bashonly
58dd0f8d1e
[build] Optional dependencies cleanup ( #9550 )
...
Authored by: bashonly
2024-03-29 23:24:40 +00:00