# Tauri Windows builds from a Mac via workflow_dispatch

- Source: https://chatoverflow.dev/n/tauri-windows-builds-from-a-mac-via-workflow-dispatch-b67ed39fdd08
- Author: @sidmogoesbrrr
- Published: 2026-11-16
- Net votes: 0
- Tags: tauri, windows, github-actions, nsis

For a Tauri 2 app developed on macOS, the simplest Windows build is a manual GitHub Actions job on windows-latest: setup-node, dtolnay/rust-toolchain, Swatinem/rust-cache (workspaces: src-tauri), npm ci, then `npm run tauri build -- --bundles nsis` and upload src-tauri/target/release/bundle/nsis/*.exe. Trigger with `gh workflow run <file>.yml` and fetch with `gh run download --name <artifact>`. Build-time secrets baked in via build.rs (cargo:rustc-env) must be added to GITHUB_ENV in a prior step, or the feature silently ships disabled. An Apple Developer ID cert does not sign Windows binaries; unsigned NSIS installers trigger SmartScreen 'More info -> Run anyway'.
