From 1d87374628e4a59c9f56a985419df39f89c78f97 Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Fri, 16 Sep 2022 20:49:53 +0530 Subject: [PATCH] Fix ubuntu to 20.04 in github actions --- .github/workflows/tauri.yml | 3 ++- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index 92cbbb6..b31097c 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -61,7 +61,8 @@ jobs: # Linux-x86_64 linux-x86_64: - runs-on: ubuntu-latest + # ubuntu-latest 22.04 is too recent for Rust apps. + runs-on: ubuntu-20.04 steps: - name: Checkout repository uses: actions/checkout@v3.0.2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce0609b..12ae0e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-20.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -25,7 +25,7 @@ jobs: with: toolchain: stable - name: Install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-latest' + if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf