Skip to content

Update build-test.yml #12

Update build-test.yml

Update build-test.yml #12

Workflow file for this run

name: Build Test
on:
push:
tags:
- 'v*'
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-tauri:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
- name: Install packages
run: npm install
- name: Build Tauri App
uses: tauri-apps/tauri-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "--target aarch64-apple-darwin"