First version

This commit is contained in:
lights0123 2020-09-27 15:02:07 -04:00
parent 4899ecd283
commit 492d098e7a
No known key found for this signature in database
GPG key ID: 28F315322E37972F
2 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [macos-latest, ubuntu-latest, windows-latest] platform: [macos-latest, ubuntu-16.04, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@ -52,7 +52,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-latest' if: matrix.platform == 'ubuntu-16.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

View file

@ -1,15 +1,15 @@
name: "publish" name: "publish"
on: on:
push: push:
branches: branches:
- release - release
jobs: jobs:
publish-tauri: publish-tauri:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [macos-latest, ubuntu-latest, windows-latest] platform: [macos-latest, ubuntu-16.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-latest' if: matrix.platform == 'ubuntu-16.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