chore(ci): 更新GitHub Actions工作流配置

- 添加push触发器,仅在main分支上自动触发
- 为servicePort输入添加默认值8080
- 将Go版本从1.20升级到1.25
- 添加七牛云上传功能,将构建产物上传到CDN
- 注释掉SSH部署到服务器的步骤,改为CDN分发
- 在发布说明中添加七牛云下载链接

chore(vscode): 更新Go构建配置

- 禁用zcli功能
- 启用stripSymbols以减小构建产物体积
- 启用trimPath以优化构建路径
```
This commit is contained in:
2026-01-06 22:17:32 +08:00
parent f0d9dfe0e8
commit aba34e2500
2 changed files with 48 additions and 28 deletions

View File

@@ -2,11 +2,12 @@
"goBuild.savedBuildConfig": {
"outputName": "",
"outputDir": "./public",
"zcliEnabled": false,
"targetOS": "linux",
"targetArch": "current",
"enableRace": false,
"enableOptimization": true,
"stripSymbols": false,
"stripSymbols": true,
"cgoEnabled": false,
"buildTags": "",
"customLdflags": "",
@@ -15,8 +16,9 @@
"keepWorkDir": false,
"forceRebuild": false,
"dryRun": false,
"trimPath": false,
"trimPath": true,
"currentPreset": "dev"
},
"go.toolsEnvVars": {}
"go.toolsEnvVars": {},
"goBuild.zcli.enabled": false
}