ops(workflow): 添加开发环境部署配置并优化生产环境部署
Some checks failed
构建上传工具 / build (push) Failing after 5m47s
部署开发环境 / build-and-deploy (push) Successful in 1m21s

This commit is contained in:
2025-09-09 23:37:36 +08:00
parent cf4287ddd9
commit eb88f4b231
3 changed files with 44 additions and 19 deletions

View File

@@ -3,6 +3,8 @@ on: [ push ]
jobs:
build:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: 检出代码
@@ -19,7 +21,7 @@ jobs:
&& go env -w GOARCH=amd64 \
&& go env -w GOOS=windows \
&& go mod tidy \
&& cd ./tool
&& cd ./tool \
&& go build -o 上传工具.exe
- name: 上传构建文件