From 492d098e7aefe1567f695216b0c34d8a3342661e Mon Sep 17 00:00:00 2001 From: lights0123 Date: Sun, 27 Sep 2020 15:02:07 -0400 Subject: [PATCH] First version --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde88f9..121b17a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-16.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -52,7 +52,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-latest' + if: matrix.platform == 'ubuntu-16.04' run: | sudo apt-get update sudo apt-get install -y webkit2gtk-4.0 squashfs-tools diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5847d65..1bcab91 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,15 +1,15 @@ name: "publish" on: -push: - branches: - - release + push: + branches: + - release jobs: publish-tauri: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-16.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-latest' + if: matrix.platform == 'ubuntu-16.04' run: | sudo apt-get update sudo apt-get install -y webkit2gtk-4.0 squashfs-tools