From 5ceda8fce7f090c46316b96559c62422c3ce395c Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:50:29 +0100 Subject: [PATCH] feat(ci): Build on ubuntu 20.04 to support older distros (#191) --- .github/workflows/build-gui-release-binaries-cb.yml | 3 ++- .github/workflows/build-gui-release-binaries.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-gui-release-binaries-cb.yml b/.github/workflows/build-gui-release-binaries-cb.yml index 408a752b8..7398083d2 100644 --- a/.github/workflows/build-gui-release-binaries-cb.yml +++ b/.github/workflows/build-gui-release-binaries-cb.yml @@ -6,7 +6,8 @@ on: types: [created] env: - UBUNTU: "ubuntu-22.04" +# We build on an older version to support older glib versions + UBUNTU: "ubuntu-20.04" MACOS_ARM: "macos-latest" MACOS_INTEL: "macos-13" WINDOWS: "windows-latest" diff --git a/.github/workflows/build-gui-release-binaries.yml b/.github/workflows/build-gui-release-binaries.yml index cf7e25a9a..968aa3f8e 100644 --- a/.github/workflows/build-gui-release-binaries.yml +++ b/.github/workflows/build-gui-release-binaries.yml @@ -9,7 +9,7 @@ jobs: publish-tauri: # Do not publish preview releases to Github. # Building takes too long for preview releases. - if: ${{ !contains(github.ref_name, 'preview') }} + # if: ${{ !contains(github.ref_name, 'preview') }} Temporarily disabled permissions: contents: write strategy: @@ -20,7 +20,7 @@ jobs: args: "--target aarch64-apple-darwin" - platform: "macos-13" # for Intel based macs. args: "--target x86_64-apple-darwin" - - platform: "ubuntu-24.04" + - platform: "ubuntu-20.04" # We build on an older version to support older glib versions args: "" - platform: "windows-latest" args: ""