refactor: .devops/未命名项目.yml

This commit is contained in:
yystopf 2023-04-08 16:53:02 +08:00 committed by jianmu
parent 3fb7e62bdc
commit ff6a089ab6
1 changed files with 12 additions and 9 deletions

View File

@ -7,19 +7,11 @@ workflow:
- ref: start
name: 开始
task: start
- ref: golang_for_giteahat_0
name: golang_for_giteahat
on-failure: ignore
task: yystopf/golang_for_giteahat@0.0.3
input:
workspace: git_clone_0.git_path
needs:
- git_clone_0
- ref: end
name: 结束
task: end
needs:
- golang_for_giteahat_0
- golang_build_node_0
- ref: git_clone_0
name: git clone
on-failure: ignore
@ -31,4 +23,15 @@ workflow:
depth: 1
needs:
- start
- ref: golang_build_node_0
name: golang_build_node
on-failure: ignore
task: yystopf/golang_build_node@0.0.1
input:
workspace: git_clone_0.git_path
out_bin_name: '"gitea"'
goos: '"linux"'
goarch: '"amd64"'
needs:
- git_clone_0