41 lines
869 B
YAML
41 lines
869 B
YAML
name: Build Momentry Studio
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Setup Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
targets: aarch64-apple-darwin
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
npm install
|
|
cargo install tauri-cli
|
|
|
|
- name: Build Frontend
|
|
run: npm run build
|
|
|
|
- name: Build Tauri App
|
|
run: cargo tauri build
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Momentry-Studio
|
|
path: src-tauri/target/release/bundle/
|