Skip to content

CI: changed on.push.branches #4

CI: changed on.push.branches

CI: changed on.push.branches #4

Workflow file for this run

name: Build and Release
on:
push:
branches:
- sakura
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [20]
pnpm-version: [8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Setup rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Cargo Target Cache
uses: actions/cache@v1
with:
path: ./target
key: ${{ runner.os }}-${{ hashFiles('./Cargo.lock') }}
- name: Install dependencies
run: pnpm install
- name: Build app
run: pnpm tauri build