From 3694d157d1029f80cd1cabca0cf1093829c5f618 Mon Sep 17 00:00:00 2001 From: chun_qiu Date: Tue, 1 Sep 2026 21:26:50 +0800 Subject: [PATCH] Build releases instead of pushes --- .gitea/workflows/build-windows.yml | 3 ++- README.md | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-windows.yml b/.gitea/workflows/build-windows.yml index 1bfb101..a265135 100644 --- a/.gitea/workflows/build-windows.yml +++ b/.gitea/workflows/build-windows.yml @@ -1,7 +1,8 @@ name: Build Windows Portable Package on: - push: + release: + types: [published] workflow_dispatch: jobs: diff --git a/README.md b/README.md index 6f0506a..065376a 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,10 @@ the relative paths `./n2n/edge.exe` and `./n2n/supernode.exe`. ## Gitea Actions -`.gitea/workflows/build-windows.yml` runs on every push and uploads the portable -zip plus its checksum as workflow artifacts. Configure a dedicated Gitea runner -with the `windows-host` label and the Windows build prerequisites above. +`.gitea/workflows/build-windows.yml` runs when a Release is published and uploads +the portable zip plus its checksum as workflow artifacts. Configure a dedicated +Gitea runner with the `windows-host` label and the Windows build prerequisites +above. It can also be run manually from the Actions page. The native command layer can start and stop edge/supernode processes, query the n2n UDP management API, run ping and TCPing checks, and inspect the local firewall state. Browser preview does not fabricate native process, management, or network-check results.