diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ad24b64..a5f3354 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -59,20 +59,13 @@ jobs: - name: Ensure Python and build dependencies are available run: | - if ! command -v python3 >/dev/null 2>&1; then - if command -v apt-get >/dev/null 2>&1; then - apt-get update - apt-get install -y python3 python3-pip python3-venv patchelf ccache - elif command -v dnf >/dev/null 2>&1; then - dnf install -y python3 python3-pip patchelf ccache - fi + if command -v apt-get >/dev/null 2>&1; then + apt-get update + apt-get install -y python3 python3-pip python3-venv patchelf ccache + elif command -v dnf >/dev/null 2>&1; then + dnf install -y python3 python3-pip python3-devel patchelf ccache fi - # patchelf is required by Nuitka for standalone Linux binaries - command -v patchelf >/dev/null 2>&1 || { - apt-get update && apt-get install -y patchelf - } - python3 --version - name: Set up venv and install package + build deps