Skip to content

v3.0.3

v3.0.3 #28

Workflow file for this run

name: Desktop
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: desktop on ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
include:
- platform: macos-latest
args: "--target universal-apple-darwin"
- platform: ubuntu-22.04
args: ""
- platform: windows-latest
args: ""
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Add macOS universal targets
if: matrix.platform == 'macos-latest'
working-directory: desktop/src-tauri
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
- name: Linux system dependencies
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Build and upload the desktop app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: desktop
args: ${{ matrix.args }}
releaseId: ${{ github.event.release.id }}