windows: release through Gitea Actions
Windows release / build (push) Successful in 3m37s
Windows release / publish (push) Successful in 15s

.gitea/workflows/windows-release.yml builds the Windows release in the
repository's own Nix dev shell (pinned Nix installer, checked by hash),
tests, packages, and on a tag windows-v<version> publishes the zip and
its .sha256 to a Gitea release with windows/release-notes/<version>.md.
Run by hand it only builds. As upstream's workflow: the job that runs
fetched code holds no token that can write; only the publishing job sees
RELEASE_TOKEN, and it runs curl and jq on the first job's artifact.

rust-toolchain.toml pins the toolchain the release is built with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-10-27 00:54:49 +03:00
1 parent 363caf912a
commit da6aafaf1d
4 files changed
+202 -2

No files matched your search

+7 -2
View File
@@ -146,5 +146,10 @@ tools/package.sh # the release zip, in dist/
nix shell nixpkgs#wineWow64Packages.stable -c tools/winws-dry-run.sh dist/ProxySuite-*/components
```
The Windows programs are cross-compiled with `cargo xwin` (MSVC target). Design notes:
[`DESIGN.md`](DESIGN.md).
The Windows programs are cross-compiled with `cargo xwin` (MSVC target), with the toolchain
in `rust-toolchain.toml`. Design notes: [`DESIGN.md`](DESIGN.md).
Releases are built by Gitea Actions (`.gitea/workflows/windows-release.yml`): bump `version`
in `Cargo.toml`, add `release-notes/<version>.md`, push a tag `windows-v<version>`. The
workflow tests, packages and publishes the zip and its `.sha256` with the `RELEASE_TOKEN`
secret (a token with `write:repository`). Run by hand, it only builds.