【发布时间】:2020-09-15 12:04:54
【问题描述】:
我有一个如下所示的environment.yml,我想读出name变量(core-force)的内容并将其设置为全局变量的值 在我的 azure-pipeline.yamal 文件中我该怎么做?
name: core-force
channels:
- conda-forge
dependencies:
- click
- Sphinx
- sphinx_rtd_theme
- numpy
- pylint
- azure-cosmos
- python=3
- flask
- pytest
- shapely
在我的 azure-pipeline.yml 文件中,我想要类似
variables:
tag: get the value of the name from the environment.yml aka 'core-force'
【问题讨论】:
标签: azure-devops yaml azure-pipelines