mirror of
https://github.com/lights0123/n-link.git
synced 2024-12-23 02:35:27 +00:00
Fix linux build
This commit is contained in:
parent
944e3a39c5
commit
a1149a8afb
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [macos-latest, ubuntu-latest, windows-latest]
|
platform: [macos-latest, ubuntu-18.04, windows-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0)
|
run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0)
|
||||||
shell: powershell -command "& '{0}'"
|
shell: powershell -command "& '{0}'"
|
||||||
- name: install webkit2gtk (ubuntu only)
|
- name: install webkit2gtk (ubuntu only)
|
||||||
if: matrix.platform == 'ubuntu-16.04'
|
if: matrix.platform == 'ubuntu-18.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
|
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
|
||||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [macos-latest, ubuntu-latest, windows-latest]
|
platform: [macos-latest, ubuntu-18.04, windows-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0)
|
run: cargo install tauri-bundler; exit ($LASTEXITCODE -ne 101 -and $LASTEXITCODE -ne 0)
|
||||||
shell: powershell -command "& '{0}'"
|
shell: powershell -command "& '{0}'"
|
||||||
- name: install webkit2gtk (ubuntu only)
|
- name: install webkit2gtk (ubuntu only)
|
||||||
if: matrix.platform == 'ubuntu-16.04'
|
if: matrix.platform == 'ubuntu-18.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
|
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
|
||||||
|
|
Loading…
Reference in a new issue