A feature-rich command-line audio/video downloader
[build] Post-release workflow cleanup (#14090)
bashonly415b6d9ca868
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex f1f65dea91..4a0220d702 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -343,16 +343,16 @@ jobs:include:- arch: 'x64'runner: windows-2025- suffix: ''python_version: '3.10'+ suffix: ''- arch: 'x86'runner: windows-2025- suffix: '_x86'python_version: '3.10'+ suffix: '_x86'- arch: 'arm64'runner: windows-11-arm- suffix: '_arm64'python_version: '3.13' # arm64 only has Python >= 3.11 available+ suffix: '_arm64'steps:- uses: actions/checkout@v4@@ -385,6 +385,7 @@ jobs:run: |python devscripts/update-version.py -c "${{ inputs.channel }}" -r "${{ needs.process.outputs.origin }}" "${{ inputs.version }}"python devscripts/make_lazy_extractors.py+- name: Buildrun: |/yt-dlp-build-venv/Scripts/Activate.ps1@@ -393,32 +394,18 @@ jobs:Compress-Archive -Path ./dist/yt-dlp${{ matrix.suffix }}/* -DestinationPath ./dist/yt-dlp_win${{ matrix.suffix }}.zip- name: Verify --update-to- # if: vars.UPDATE_TO_VERIFICATION- # Temporarily skip for arm64 until there is a release that it can --update-to- if: |- vars.UPDATE_TO_VERIFICATION && matrix.arch != 'arm64'+ if: vars.UPDATE_TO_VERIFICATIONrun: |foreach ($name in @("yt-dlp${{ matrix.suffix }}")) {Copy-Item "./dist/${name}.exe" "./dist/${name}_downgraded.exe"$version = & "./dist/${name}.exe" --version- & "./dist/${name}_downgraded.exe" -v --update-to yt-dlp/[email protected]+ & "./dist/${name}_downgraded.exe" -v --update-to yt-dlp/[email protected]$downgraded_version = & "./dist/${name}_downgraded.exe" --versionif ($version -eq $downgraded_version) {exit 1}}- # TODO: remove when there is a windows_arm64 release that we can --update-to- - name: Verify arm64 executable- if: |- vars.UPDATE_TO_VERIFICATION && matrix.arch == 'arm64'- run: |- foreach ($name in @("yt-dlp${{ matrix.suffix }}")) {- & "./dist/${name}.exe" -v --print-traffic --impersonate chrome "https://tls.browserleaks.com/json" -o ./resp.json- & cat ./resp.json- & "./dist/${name}.exe" --version- }-- name: Upload artifactsuses: actions/upload-artifact@v4with: