Update CI #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
on: push | |
jobs: | |
build-mac: | |
runs-on: "macos-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: install frontend dependencies | |
run: pnpm install | |
- name: build tauri app | |
run: pnpm tauri build --ci -v --target universal-apple-darwin | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: "overlayed-unstable-mac" | |
path: "src-tauri/target/release/bundle/dmg/*.dmg" | |
build-windows: | |
runs-on: "windows-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: install frontend dependencies | |
run: pnpm install | |
- name: build tauri app | |
run: pnpm tauri build --ci -v --target x86_64-pc-windows-msvc | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: "overlayed-unstable-windows" | |
path: "src-tauri/target/release/bundle/**/*.exe" |