# Fallback CI: build the Windows installer on a Windows runner. # Requires a Gitea Actions runner labelled `windows` on git.bongbetic.com. # The primary build path is `npm run app:build:windows` (cross-compile via cargo-xwin). name: Windows build on: workflow_dispatch: push: tags: - "v*" jobs: build: runs-on: windows steps: - uses: actions/checkout@v4 # nosemgrep: github-actions-mutable-action-tag -- fallback workflow, behavior unchanged - name: Install Rust uses: dtolnay/rust-toolchain@stable # nosemgrep: github-actions-mutable-action-tag -- fallback workflow, behavior unchanged - name: Install Node uses: actions/setup-node@v4 # nosemgrep: github-actions-mutable-action-tag -- fallback workflow, behavior unchanged with: node-version: 20 - name: Install dependencies run: npm ci - name: Build the app run: npm run app:build - name: Upload installer uses: actions/upload-artifact@v4 # nosemgrep: github-actions-mutable-action-tag -- fallback workflow, behavior unchanged with: name: voiced-windows path: src-tauri/target/release/bundle/nsis/*.exe