ci: migrate from GitHub Actions to Gitea Actions

This commit is contained in:
2026-06-24 16:07:06 +03:00
parent 4dfaf11698
commit 68eb16027c
10 changed files with 544 additions and 0 deletions
+16
View File
@@ -40,6 +40,14 @@ If you're interested in working on the code, either to develop mods or to contri
**Wiki:** https://barotraumagame.com/wiki/Main_Page
## CI/CD Secrets
The following secrets must be configured in the Gitea repository settings (`Settings → Secrets → Actions`):
| Secret | Description |
|--------|-------------|
| `CI_RELEASE_TOKEN` | Gitea access token with `repo` scope for creating releases and reading repository info |
## Prerequisities:
### Windows
- [Visual Studio](https://www.visualstudio.com/vs/community/) with C# 10 support (VS 2022 or later recommended)
@@ -90,6 +98,14 @@ If you're interested in working on the code, either to develop mods or to contri
**Wiki** https://barotraumagame.com/wiki/Main_Page
## CI/CD 密钥
以下密钥需在 Gitea 仓库设置中配置(`Settings → Secrets → Actions`):
| 密钥 | 说明 |
|------|------|
| `CI_RELEASE_TOKEN` | 具有 `repo` 权限的 Gitea 访问令牌,用于创建发布版本和读取仓库信息 |
## 环境要求:
### Windows
- 支持 C# 10 的 [Visual Studio](https://www.visualstudio.com/vs/community/)(推荐 VS 2022 或更高版本)