Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pavi2410 committed Mar 31, 2024
1 parent 06021a5 commit f2ab742
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/actions/release.yaml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit f2ab742

Please sign in to comment.