From a1149a8afb9efb5987ad059c8a58dad3633a86e9 Mon Sep 17 00:00:00 2001 From: lights0123 Date: Sun, 27 Sep 2020 16:03:54 -0400 Subject: [PATCH] Fix linux build --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e20dadc..99fd691 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-18.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -53,7 +53,7 @@ jobs: run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0) shell: powershell -command "& '{0}'" - name: install webkit2gtk (ubuntu only) - if: matrix.platform == 'ubuntu-16.04' + if: matrix.platform == 'ubuntu-18.04' run: | sudo apt-get update sudo apt-get install -y webkit2gtk-4.0 squashfs-tools diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a0506f..b06c70f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-18.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -51,7 +51,7 @@ jobs: run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0) shell: powershell -command "& '{0}'" - name: install webkit2gtk (ubuntu only) - if: matrix.platform == 'ubuntu-16.04' + if: matrix.platform == 'ubuntu-18.04' run: | sudo apt-get update sudo apt-get install -y webkit2gtk-4.0 squashfs-tools