35 lines
774 B
YAML
35 lines
774 B
YAML
|
|
version: '1.0'
|
||
|
|
name: pipeline-20250906-release
|
||
|
|
displayName: pipeline-20250906-release
|
||
|
|
triggers:
|
||
|
|
trigger: auto
|
||
|
|
push:
|
||
|
|
branches:
|
||
|
|
precise:
|
||
|
|
- release
|
||
|
|
stages:
|
||
|
|
- name: stage-4863fcf5
|
||
|
|
displayName: 未命名
|
||
|
|
strategy: naturally
|
||
|
|
trigger: auto
|
||
|
|
executor: []
|
||
|
|
steps:
|
||
|
|
- step: build@golang
|
||
|
|
name: build_golang
|
||
|
|
displayName: Golang 构建
|
||
|
|
golangVersion: '1.24'
|
||
|
|
commands:
|
||
|
|
- '# 默认使用goproxy.cn'
|
||
|
|
- export GOPROXY=https://goproxy.cn
|
||
|
|
- '# 输入你的构建命令'
|
||
|
|
- go build
|
||
|
|
artifacts:
|
||
|
|
- name: BUILD_ARTIFACT
|
||
|
|
path:
|
||
|
|
- ./output
|
||
|
|
caches:
|
||
|
|
- /go/pkg/mod
|
||
|
|
notify: []
|
||
|
|
strategy:
|
||
|
|
retry: '0'
|