Skip to content

feat: Add overview mode to display all devices on one page #5

feat: Add overview mode to display all devices on one page

feat: Add overview mode to display all devices on one page #5

Workflow file for this run

name: Build & Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: macos-latest
target: x86_64-apple-darwin
name: macOS-x64
- platform: macos-latest
target: aarch64-apple-darwin
name: macOS-arm64
- platform: windows-latest
target: x86_64-pc-windows-msvc
name: Windows-x64
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install frontend dependencies
run: npm install
- name: Install Tauri CLI
run: npm install -g @tauri-apps/cli
- name: Build Tauri app
run: npm run tauri build -- --target ${{ matrix.target }}
env:
TAURI_SIGNING_PRIVATE_KEY: ''
- name: Upload macOS artifacts
if: runner.os == 'macOS'
uses: actions/upload-artifact@v4
with:
name: phone-control-${{ matrix.name }}
path: |
src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
src-tauri/target/${{ matrix.target }}/release/bundle/macos/*.app
- name: Upload Windows artifacts
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: phone-control-${{ matrix.name }}
path: |
src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe