Trying to substitute the version number in the conda environment file
This commit is contained in:
@ -44,7 +44,8 @@ init:
|
||||
install:
|
||||
- conda config --set always_yes yes --set changeps1 no
|
||||
- conda update -q conda
|
||||
- sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
|
||||
- pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$PYTHON_VERSION") | Set-Content -Path environment.yml
|
||||
- sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
|
||||
- conda env create -f environment.yml
|
||||
- activate cadquery
|
||||
#- cmd: conda install -c conda-forge -c defaults -c cadquery python=%PYTHON_VERSION%
|
||||
|
||||
Reference in New Issue
Block a user