A feature-rich command-line audio/video downloader
[build] Use `macos-14` runner for `macos` builds (#13814)
bashonly66aa21dc5a3b
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex e2411ecfad..b3db8fec1b 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -242,7 +242,7 @@ jobs:permissions:contents: readactions: write # For cleaning up cache- runs-on: macos-13+ runs-on: macos-14steps:- uses: actions/checkout@v4@@ -261,6 +261,8 @@ jobs:- name: Install Requirementsrun: |brew install coreutils+ # We need to use system Python in order to roll our own universal2 curl_cffi wheel+ brew uninstall --ignore-dependencies python3python3 -m venv ~/yt-dlp-build-venvsource ~/yt-dlp-build-venv/bin/activatepython3 devscripts/install_deps.py -o --include builddiff --git a/bundle/pyinstaller.py b/bundle/pyinstaller.pyindex c2f6511210..0597f602d0 100755--- a/bundle/pyinstaller.py+++ b/bundle/pyinstaller.py@@ -62,16 +62,22 @@ def parse_options():def exe(onedir):"""@returns (name, path)"""+ platform_name, machine, extension = {+ 'win32': (None, MACHINE, '.exe'),+ 'darwin': ('macos', None, None),+ }.get(OS_NAME, (OS_NAME, MACHINE, None))+name = '_'.join(filter(None, ('yt-dlp',- {'win32': '', 'darwin': 'macos'}.get(OS_NAME, OS_NAME),- MACHINE,+ platform_name,+ machine,)))+return name, ''.join(filter(None, ('dist/',onedir and f'{name}/',name,- OS_NAME == 'win32' and '.exe',+ extension,)))