diff --git a/.github/workflows/package-linux.yml b/.github/workflows/package-linux.yml index 0f09dcd..f8153d0 100644 --- a/.github/workflows/package-linux.yml +++ b/.github/workflows/package-linux.yml @@ -7,7 +7,7 @@ on: push: tags: - "v*.*.*" - + # Don't trigger if it's just a documentation update paths-ignore: - '**.md' @@ -23,7 +23,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python @@ -34,9 +34,9 @@ jobs: - name: Install python dependencies run: | sudo apt-get update - sudo apt-get install -y libpng-dev libjpeg-dev p7zip-full python3-pyqt5 squashfs-tools - python -m pip install --upgrade pip setuptools wheel pyinstaller - pip install -r requirements.txt + sudo apt-get install -y libpng-dev libjpeg-dev p7zip-full python3-pyqt5 python3-pip squashfs-tools libfuse2 + python -m pip install --upgrade pip setuptools wheel certifi pyinstaller PyQt6 --no-binary pyinstaller + python -m pip install -r requirements.txt - name: build binary run: | python setup.py build_binary @@ -58,7 +58,6 @@ jobs: appimage-builder --recipe AppImageBuilder.yml --skip-test env: UPDATE_INFO: gh-releases-zsync|ciromattia|kcc|latest|*x86_64.AppImage.zsync - - name: upload artifact uses: actions/upload-artifact@v3 with: diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index 17b02c7..9a04bd3 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -19,24 +19,21 @@ AppDir: - amd64 allow_unauthenticated: true sources: - - sourceline: deb http://archive.ubuntu.com/ubuntu focal main restricted - - sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted - - sourceline: deb http://archive.ubuntu.com/ubuntu focal universe - - sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates universe - - sourceline: deb http://archive.ubuntu.com/ubuntu focal multiverse - - sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates multiverse - - sourceline: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy universe + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates universe + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy multiverse + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates multiverse + - sourceline: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse - - sourceline: deb http://security.ubuntu.com/ubuntu focal-security main restricted - - sourceline: deb http://security.ubuntu.com/ubuntu focal-security universe - - sourceline: deb http://security.ubuntu.com/ubuntu focal-security multiverse + - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted + - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe + - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse include: - - zlib1g:amd64 + - libc6:amd64 files: - include: - - /lib/x86_64-linux-gnu/libGLX.so.0 - - /lib/x86_64-linux-gnu/libGLdispatch.so.0 - - /usr/lib/locale/locale-archive + include: [] exclude: - usr/share/man - usr/share/doc/*/README.*