From f579a36c14b54b10841415ded552f5678fbc8982 Mon Sep 17 00:00:00 2001 From: Simon Sawicki Date: Sun, 28 Apr 2024 21:02:45 +0200 Subject: [PATCH] Fix permissions --- .github/workflows/build.yml | 2 ++ bundle/docker/static/entrypoint.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3955e229..eb5aa42b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,9 +156,11 @@ jobs: mkdir ~/build cd bundle/docker docker compose up --build static + sudo chown "${USER}:${USER}" ~/build/yt-dlp_linux - name: Verify --update-to if: vars.UPDATE_TO_VERIFICATION run: | + chmod +x ~/build/yt-dlp_linux 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 diff --git a/bundle/docker/static/entrypoint.sh b/bundle/docker/static/entrypoint.sh index 7abd0641c..29ec59b09 100755 --- a/bundle/docker/static/entrypoint.sh +++ b/bundle/docker/static/entrypoint.sh @@ -11,4 +11,3 @@ deactivate source ~/.local/share/pipx/venvs/staticx/bin/activate staticx /yt-dlp/dist/yt-dlp_linux /build/yt-dlp_linux deactivate -chmod +rx /build/yt-dlp_linux