Files
Voiced/.gitea/workflows/windows-build.yml
soubarna 65f3615661 chore: semgrep triage
Pass a constant format string to console.log in compare.mjs (same output).
Annotate the mutable action tags in the Windows fallback workflow with
nosemgrep; workflow behaviour is unchanged.
2026-10-05 17:29:03 +05:30

37 lines
1.2 KiB
YAML

# 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