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 @@ cd C:\Workspace\Personal\lingma-ipc-proxy
dist\lingma-ipc-proxy.exe
```
## 发布
GitHub Actions 可以自动发布 GitHub Release。
触发方式:
- 推送匹配 `v*` 的 tag例如 `v0.1.0`
- 或手动运行 `Release` workflow并传入一个 tag
示例:
```powershell
git tag v0.1.0
git push origin v0.1.0
```
发布产物:
- `lingma-ipc-proxy_<tag>_windows_amd64.zip`
- `lingma-ipc-proxy_<tag>_sha256.txt`
等价的 Go 构建命令:
```powershell