From 353e149886633061ef9f703ae41f25ae606b0229 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 5 Jun 2025 23:59:44 +0400 Subject: [PATCH] build: switch to ubuntu 22 for linux build --- .github/workflows/release.yml | 6 +++--- .github/workflows/rolling-release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5db244c..bda5209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,13 +63,13 @@ jobs: target: "aarch64-apple-darwin" pkg_target: "universal" nodecar_script: "build:mac-universal" - - platform: "ubuntu-20.04" + - platform: "ubuntu-22.04" args: "--target x86_64-unknown-linux-gnu" arch: "x86_64" target: "x86_64-unknown-linux-gnu" pkg_target: "latest-linux-x64" nodecar_script: "build:linux-x64" - - platform: "ubuntu-20.04" + - platform: "ubuntu-22.04" args: "--target aarch64-unknown-linux-gnu" arch: "aarch64" target: "aarch64-unknown-linux-gnu" @@ -107,7 +107,7 @@ jobs: targets: ${{ matrix.target }} - name: Install dependencies (Ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index a6a1c16..834e621 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -62,13 +62,13 @@ jobs: target: "aarch64-apple-darwin,x86_64-apple-darwin" pkg_target: "universal" nodecar_script: "build:mac-universal" - - platform: "ubuntu-20.04" + - platform: "ubuntu-22.04" args: "--target x86_64-unknown-linux-gnu" arch: "x86_64" target: "x86_64-unknown-linux-gnu" pkg_target: "latest-linux-x64" nodecar_script: "build:linux-x64" - - platform: "ubuntu-20.04" + - platform: "ubuntu-22.04" args: "--target aarch64-unknown-linux-gnu" arch: "aarch64" target: "aarch64-unknown-linux-gnu" @@ -93,7 +93,7 @@ jobs: targets: ${{ matrix.target }} - name: Install dependencies (Ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev