Skip to content

Commit

Permalink
Fix build for Linux
Browse files Browse the repository at this point in the history
* Tauri v2 requires libwebkit2gtk-4.1, which requires Ubuntu >= 22.04

Signed-off-by: xychen <[email protected]>
  • Loading branch information
xychen committed May 6, 2024
1 parent 45ccb1b commit 81aba34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- platform: macos-latest
target: x86_64-apple-darwin
bundles: [dmg]
- platform: ubuntu-20.04
- platform: ubuntu-22.04
target: x86_64-unknown-linux-gnu
bundles: [deb, appimage]
- platform: windows-latest
Expand All @@ -39,14 +39,14 @@ jobs:
targets: ${{ matrix.target }}

- name: Install native dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y \
libappindicator3-dev \
librsvg2-dev \
libudev-dev \
libwebkit2gtk-4.0-dev \
libwebkit2gtk-4.1-dev \
patchelf
- name: Install frontend dependencies
Expand Down

0 comments on commit 81aba34

Please sign in to comment.