Adds the PyQt6 Windows client (Homepage, Scan & results, About & updates, Settings), ClamAV scanning and quarantine, browser-download watch with an exclusive scan gate, Bolt loopback/PKCE sign-in with DPAPI key storage, Gitea release feed with checksum verification, opt-in diagnostics, and Windows/portable build tooling. Co-Authored-By: Claude Code <noreply@anthropic.com>
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
name: Windows release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
description: "Release tag (for a manual run, e.g. v1.0.0)"
|
|
required: false
|
|
|
|
jobs:
|
|
build-windows:
|
|
# Gitea Actions needs a runner with these labels. The stock Gitea
|
|
# act_runner is Linux-only; register this repository on a Windows runner,
|
|
# or run build_windows.ps1 on a Windows PC and upload the release manually.
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
architecture: x64
|
|
|
|
- name: Install Inno Setup when available
|
|
shell: pwsh
|
|
continue-on-error: true
|
|
run: |
|
|
if (Get-Command choco -ErrorAction SilentlyContinue) {
|
|
choco install innosetup -y --no-progress
|
|
}
|
|
|
|
- name: Build
|
|
shell: pwsh
|
|
run: ./build_windows.ps1
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: BoltClam-windows
|
|
path: |
|
|
dist/*.zip
|
|
dist/*.exe
|
|
dist/SHA256SUMS.txt
|
|
if-no-files-found: error
|
|
|
|
- name: Publish Gitea release
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
shell: pwsh
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
run: ./packaging/publish_release.ps1
|