mirror of https://github.com/yt-dlp/yt-dlp.git
Fix so it works
This commit is contained in:
parent
582510fdcb
commit
c5cf7795dd
|
@ -153,25 +153,23 @@ jobs:
|
|||
origin: ${{ needs.process.outputs.origin }}
|
||||
version: ${{ inputs.version }}
|
||||
run: |
|
||||
mkdir /build
|
||||
mkdir ~/build
|
||||
cd bundle/docker
|
||||
docker compose up --build static
|
||||
- name: Verify --update-to
|
||||
if: vars.UPDATE_TO_VERIFICATION
|
||||
run: |
|
||||
for binary in /build/*; do
|
||||
chmod +x "${binary}"
|
||||
cp "${binary}" "${binary}_downgraded"
|
||||
version="$("${binary}" --version)"
|
||||
"${binary}_downgraded" -v --update-to yt-dlp/yt-dlp@2023.03.04
|
||||
downgraded_version="$("${binary}_downgraded" --version)"
|
||||
[[ "$version" != "$downgraded_version" ]]
|
||||
done
|
||||
cp ~/build/yt-dlp_linux ~/build/yt-dlp_linux_downgraded
|
||||
version="$(~/build/yt-dlp_linux --version)"
|
||||
~/build/yt-dlp_linux_downgraded -v --update-to yt-dlp/yt-dlp@2023.03.04
|
||||
downgraded_version="$(~/build/yt-dlp_linux_downgraded --version)"
|
||||
[[ "$version" != "$downgraded_version" ]]
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-bin-${{ github.job }}
|
||||
path: /build/*
|
||||
path: |
|
||||
~/build/yt-dlp_linux
|
||||
compression-level: 0
|
||||
|
||||
linux_arm:
|
||||
|
|
|
@ -6,5 +6,5 @@ services:
|
|||
origin: ${origin}
|
||||
version: ${version}
|
||||
volumes:
|
||||
- /build:/build
|
||||
- ~/build:/build
|
||||
- ../..:/yt-dlp
|
||||
|
|
Loading…
Reference in New Issue