Fix linux build

This commit is contained in:
lights0123 2020-09-27 16:03:54 -04:00
parent 944e3a39c5
commit a1149a8afb
No known key found for this signature in database
GPG key ID: 28F315322E37972F
2 changed files with 4 additions and 4 deletions

View file

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

View file

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