diff --git a/.devops/未命名项目.yml b/.devops/未命名项目.yml index 2f94fd2..b3c6eda 100644 --- a/.devops/未命名项目.yml +++ b/.devops/未命名项目.yml @@ -7,6 +7,19 @@ 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.2 + input: + workspace: git_clone_0.git_path + needs: + - git_clone_0 + - ref: end + name: 结束 + task: end + needs: + - golang_for_giteahat_0 - ref: git_clone_0 name: git clone on-failure: ignore @@ -18,25 +31,4 @@ workflow: depth: 1 needs: - start - - ref: golang_for_giteahat_0 - name: golang_for_giteahat - task: yystopf/golang_for_giteahat@0.0.2 - input: - workspace: git_clone_0.git_path - cmd: - - echo $WORKSPACE - - cd $WORKSPACE - - go mod tidy - - go mod vendor - - go build -o gitea main.go - - ls -la - - echo done - needs: - - git_clone_0 - - ref: end - name: 结束 - task: end - needs: - - golang_for_giteahat_0 -