Fix ubuntu to 20.04 in github actions

This commit is contained in:
Krishan 2022-09-16 20:49:53 +05:30
parent 93b3f5bad8
commit 1d87374628
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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