Skip to content

5.0.0 - Move backend and frontend into main rust application #2653

5.0.0 - Move backend and frontend into main rust application

5.0.0 - Move backend and frontend into main rust application #2653

Workflow file for this run

---
name: "CI"
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install \
libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/[email protected]
with:
workspaces: "./src-tauri -> target"
- name: Setup Bun
uses: oven-sh/[email protected]
with:
bun-version: latest
no-cache: false
- name: Install frontend dependencies
run: bun install
- name: Build the app
uses: tauri-apps/[email protected]
- name: Publish artifacts
uses: actions/[email protected]
with:
name: tauri-app-${{ matrix.platform }}
path: |
src-tauri/target/release/bundle