From 1235b32cee92b87ab198fbb6a2cdc5ec4079d324 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Sat, 24 May 2025 00:17:10 +0200 Subject: [PATCH 1/3] Ubuntu 20.04 has been deprecated on GitHub actions --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4354723..2c1d077 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: ARCH: [x86_64, i686, aarch64, armhf] name: AppImage ${{ matrix.ARCH }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: ARCH: ${{ matrix.ARCH }} DIST: bionic @@ -35,7 +35,7 @@ jobs: name: Create release and upload artifacts needs: - appimage - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Download artifacts uses: actions/download-artifact@v2 From c4a0d9fda47314f696c060e6404cee8339349abb Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Sat, 24 May 2025 00:20:22 +0200 Subject: [PATCH 2/3] Fix deprecated actions --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c1d077..7ada798 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: ARCH: ${{ matrix.ARCH }} DIST: bionic steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive @@ -26,7 +26,7 @@ jobs: run: bash -ex ci/build-in-docker.sh - name: Archive artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: AppImage ${{ matrix.ARCH }} path: zsync*.AppImage* @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 - name: Inspect directory after downloading artifacts run: ls -alFR - name: Create release and upload artifacts From ea6d33bb467927b17741f8b9327d9e57ec374189 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Sat, 24 May 2025 00:28:24 +0200 Subject: [PATCH 3/3] Use native ARM runners --- .github/workflows/main.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ada798..296bf9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,10 +7,18 @@ jobs: strategy: fail-fast: false matrix: - ARCH: [x86_64, i686, aarch64, armhf] + include: + - ARCH: x86_64 + RUNS_ON: ubuntu-24.04 + - ARCH: i686 + RUNS_ON: ubuntu-24.04 + - ARCH: aarch64 + RUNS_ON: ubuntu-24.04-arm + - ARCH: armhf + RUNS_ON: ubuntu-24.04-arm name: AppImage ${{ matrix.ARCH }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.RUNS_ON }} env: ARCH: ${{ matrix.ARCH }} DIST: bionic @@ -19,9 +27,6 @@ jobs: with: submodules: recursive - - name: Set up QEMU integration for Docker - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - name: Build AppImage in Docker run: bash -ex ci/build-in-docker.sh