1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-17 01:48:29 +00:00

script improvements

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-13 11:35:20 -05:00
parent 4be0b7f16c
commit 36cd6919e0
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
3 changed files with 9 additions and 6 deletions

View File

@ -240,7 +240,7 @@ jobs:
docker compose down
sudo chown "${USER}:docker" ~/build/${EXE_NAME}
- name: Verify --update-to
- name: Verify --update-to in container
if: vars.UPDATE_TO_VERIFICATION
env:
EXE_NAME: yt-dlp_linux_armv7l
@ -305,7 +305,7 @@ jobs:
docker compose up --build --exit-code-from "${SERVICE}" "${SERVICE}"
docker compose down
sudo chown "${USER}:docker" ~/build/${{ matrix.exe }}
- name: Verify --update-to
- name: Verify --update-to in container
env:
EXE_NAME: ${{ matrix.exe }}
CHANNEL: ${{ inputs.channel }}

View File

@ -32,5 +32,7 @@ if [[ -z "${SKIP_ONEDIR_BUILD:-}" ]]; then
popd
fi
if [[ -z "${SKIP_ONEFILE_BUILD:-}" ]]; then
runpy -m bundle.pyinstaller
mv "./dist/${EXE_NAME}" /build/
fi

View File

@ -1,10 +1,11 @@
#!/bin/sh
set -exuo
set -eu
chmod +x /build/${EXE_NAME}
if [ -z "${EXCLUDE_CURL_CFFI:-}" ]; then
/build/${EXE_NAME} -v --print-traffic -o- --impersonate chrome "https://tls.browserleaks.com/json" | cat
/build/${EXE_NAME} -v --print-traffic --impersonate chrome "https://tls.browserleaks.com/json" -o ./resp.json
cat ./resp.json
fi
if [ -n "${SKIP_UPDATE_TO:-}" ]; then