Build releases instead of pushes

This commit is contained in:
2026-09-01 21:26:50 +08:00
parent 8e4f95d091
commit 3694d157d1
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
name: Build Windows Portable Package name: Build Windows Portable Package
on: on:
push: release:
types: [published]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
+4 -3
View File
@@ -51,9 +51,10 @@ the relative paths `./n2n/edge.exe` and `./n2n/supernode.exe`.
## Gitea Actions ## Gitea Actions
`.gitea/workflows/build-windows.yml` runs on every push and uploads the portable `.gitea/workflows/build-windows.yml` runs when a Release is published and uploads
zip plus its checksum as workflow artifacts. Configure a dedicated Gitea runner the portable zip plus its checksum as workflow artifacts. Configure a dedicated
with the `windows-host` label and the Windows build prerequisites above. 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. 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.