Skip to content

chore: add tauri-plugin-updater dependency and fix Cargo.toml metadata #55

chore: add tauri-plugin-updater dependency and fix Cargo.toml metadata

chore: add tauri-plugin-updater dependency and fix Cargo.toml metadata #55

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Installer (Windows)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust build output
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Install dependencies
run: npm ci
- name: Run verification
run: npm run verify
- name: Build installer
run: npm run build
- name: Upload NSIS installer
uses: actions/upload-artifact@v4
with:
name: rigstats-nsis
path: src-tauri/target/release/bundle/nsis/*.exe
if-no-files-found: error