From f2ab742f485a7dded4745b969ee8ceb8b5bf1a7f Mon Sep 17 00:00:00 2001 From: Pavitra Golchha Date: Mon, 1 Apr 2024 01:25:06 +0530 Subject: [PATCH] Update github action --- .github/{actions => workflows}/release.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) rename .github/{actions => workflows}/release.yaml (64%) diff --git a/.github/actions/release.yaml b/.github/workflows/release.yaml similarity index 64% rename from .github/actions/release.yaml rename to .github/workflows/release.yaml index d73986a..c966d61 100644 --- a/.github/actions/release.yaml +++ b/.github/workflows/release.yaml @@ -1,12 +1,9 @@ name: "publish" on: - push: - branches: - - release + workflow_dispatch: -# This is the example from the readme. -# On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release. +# it will create or update a GitHub release, build your app, and upload the artifacts to the release. jobs: publish-tauri: @@ -15,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + platform: [macos-latest, ubuntu-22.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -30,13 +27,15 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - name: install frontend dependencies - run: yarn install # change this to npm or pnpm depending on which one you use + - uses: pnpm/action-setup@v3 + with: + version: 8 + run_install: true - uses: tauri-apps/tauri-action@v0 env: