更新时间:2024-01-23 GMT+08:00
使用yaml配置Python构建
1 2 3 4 5 6 7 8 9 |
version: 2.0 # 必须是2.0 steps: BUILD: - python: inputs: command: | pip config set global.index-url https://pypi.org/simple pip config set global.trusted-host repo.xxcloud.com python setup.py bdist_egg |
参数名 |
参数类型 |
描述 |
是否必填 |
默认值 |
---|---|---|---|---|
command |
string |
执行命令。 |
是 |
无 |
父主题: 单任务配置