feat(ci): Build on ubuntu 20.04 to support older distros (#191)

This commit is contained in:
binarybaron 2024-11-19 14:50:29 +01:00 committed by GitHub
parent aa81f3c588
commit 5ceda8fce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,8 @@ on:
types: [created] types: [created]
env: 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_ARM: "macos-latest"
MACOS_INTEL: "macos-13" MACOS_INTEL: "macos-13"
WINDOWS: "windows-latest" WINDOWS: "windows-latest"

View file

@ -9,7 +9,7 @@ jobs:
publish-tauri: publish-tauri:
# Do not publish preview releases to Github. # Do not publish preview releases to Github.
# Building takes too long for preview releases. # Building takes too long for preview releases.
if: ${{ !contains(github.ref_name, 'preview') }} # if: ${{ !contains(github.ref_name, 'preview') }} Temporarily disabled
permissions: permissions:
contents: write contents: write
strategy: strategy:
@ -20,7 +20,7 @@ jobs:
args: "--target aarch64-apple-darwin" args: "--target aarch64-apple-darwin"
- platform: "macos-13" # for Intel based macs. - platform: "macos-13" # for Intel based macs.
args: "--target x86_64-apple-darwin" 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: "" args: ""
- platform: "windows-latest" - platform: "windows-latest"
args: "" args: ""