Skip to content

Merge pull request #22 from lgou2w/next #63

Merge pull request #22 from lgou2w/next

Merge pull request #22 from lgou2w/next #63

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- name: Windows
platform: windows-latest
name: ${{ matrix.name }}
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Rust environment
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Setup Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: '. -> target'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Install Node and setup cache
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install app dependencies
run: pnpm install
- name: Build Tauri app
run: pnpm tauri build