diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc6f16f5..dfb57a61 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -116,7 +116,7 @@ jobs: id: runcmd with: arch: ${{ matrix.arch }} - distro: alpine_latest + distro: stretch # Mount the artifacts directory as /artifacts in the container dockerRunArgs: | @@ -124,7 +124,14 @@ jobs: # Set an output parameter `uname` for use in subsequent steps run: | - apk add python3 python3-dev py3-pip musl-dev libc-dev libffi-dev gcc g++ pwgen zlib-dev rust cargo + apt-get update -y + apt-get install -y wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev + wget https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tar.xz + tar -xf Python-3.10.10.tar.xz + cd Python-3.10.10 && ./configure --with-ensurepip=install --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" + make -j 8 + make altinstall + python3.10 --version pip3 install --upgrade pip pip3 install pyinstaller pyinstaller --log-level=DEBUG ytdl-sub.spec