ops(workflow): 添加开发环境部署配置并优化生产环境部署
This commit is contained in:
@@ -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: 上传构建文件
|
||||
|
Reference in New Issue
Block a user