Skip to content

Commit ea697a2

Browse files
committed
Trying to get environment variable to work in Windows
1 parent 243de43 commit ea697a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ init:
4444
install:
4545
- conda config --set always_yes yes --set changeps1 no
4646
- conda update -q conda
47-
- pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$PYTHON_VERSION") | Set-Content -Path environment.yml
47+
- pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$env:PYTHON_VERSION") | Set-Content -Path environment.yml
4848
- sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
4949
- pwsh: type environment.yml
5050
- conda env create -f environment.yml

0 commit comments

Comments
 (0)