Skip to content

release: update release metadata to latest #5

release: update release metadata to latest

release: update release metadata to latest #5

Workflow file for this run

name: 🔨 Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
build:
name: App
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04, windows-latest, macos-12]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
name: Cache Rust Build
with:
shared-key: tauri-build-${{ matrix.platform }}
workspaces: src-tauri
- name: Install Linux Dependencies
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install NPM Dependencies
run: |
yarn install --frozen-lockfile
yarn build
- uses: tauri-apps/tauri-action@v0
name: Build Tauri App
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}