ci: add GitHub release workflow

This commit is contained in:
coolxll
2026-03-30 15:57:18 +08:00
parent 4ae1362527
commit 9b652fea67
4 changed files with 185 additions and 66 deletions

View File

@@ -84,6 +84,27 @@ Default output:
dist\lingma-ipc-proxy.exe
```
## Release
GitHub Actions can publish a GitHub Release automatically.
Trigger rules:
- push a tag matching `v*`, for example `v0.1.0`
- or run the `Release` workflow manually and pass a tag
Example:
```powershell
git tag v0.1.0
git push origin v0.1.0
```
Release assets:
- `lingma-ipc-proxy_<tag>_windows_amd64.zip`
- `lingma-ipc-proxy_<tag>_sha256.txt`
Direct Go build command:
```powershell