Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaKestrel authored Sep 15, 2024
1 parent dd9612c commit a074282
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, ubuntu-latest]
platform: [windows-latest, ubuntu-22.04]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -65,9 +65,8 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo echo “deb http://archive.ubuntu.com/ubuntu/jammy main” >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y gir1.2-webkit2-4.0=2.44.3-0ubuntu0.22.04.1 libjavascriptcoregtk-4.0-dev libjavascriptcoregtk-4.0-18=2.36.0-2ubuntu1 libgtk-3-dev libwebkit2gtk-4.0-dev=2.36.0-2ubuntu1 libwebkit2gtk-4.0-37=2.36.0-2ubuntu1 libwebkit2gtk-4.0-37=2.36.0-2ubuntu1 libappindicator3-dev librsvg2-dev patchelf gir1.2-javascriptcoregtk-4.0
- name: install frontend dependencies
Expand Down

0 comments on commit a074282

Please sign in to comment.