From 2494c602bdc5174c3ee6d5ff8e42981026dcdb86 Mon Sep 17 00:00:00 2001 From: Sammy-T Date: Fri, 27 Dec 2024 19:28:57 -0500 Subject: [PATCH 1/2] Remove libwebkit2gtk-4.0-dev The latest GH Action Ubuntu runner has been updated to v24 and this dependency causes the action to fail. --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 9f38a26..9e5607c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -26,7 +26,7 @@ jobs: - name: Install Linux dependencies if: matrix.os == 'ubuntu-latest' - run: sudo apt-get update && sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev + run: sudo apt-get update && sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev - name: Set up Node.js uses: actions/setup-node@v4.0.2 From 64fe1a626df96270de7d15ec09ed93ee3006f263 Mon Sep 17 00:00:00 2001 From: Sammy-T Date: Fri, 27 Dec 2024 19:36:04 -0500 Subject: [PATCH 2/2] Build single Linux binary The updated GH Action runner shouldn't work with the base `build` command. Defaulting to the tagged command might work. --- .github/workflows/build-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 9e5607c..72622e8 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -63,11 +63,12 @@ jobs: run: mkdir -p release - name: Build Wails app + if: matrix.os != 'ubuntu-latest' run: wails build - - name: Build Wails app (Linux-alt) + - name: Build Wails app (Linux) if: matrix.os == 'ubuntu-latest' - run: wails build -tags webkit2_41 -o ${{ steps.filename.outputs.prop }}-linux-alt + run: wails build -tags webkit2_41 - name: Zip release file uses: vimtor/action-zip@v1.2