Skip to content

Commit 3a14448

Browse files
.github/workflows/ci.yml
1 parent 4e2c789 commit 3a14448

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,16 @@ jobs:
171171
with:
172172
python-version: ${{ matrix.python-version }}
173173

174-
- name: Setup conda
175-
uses: s-weigand/setup-conda@v1
176-
with:
177-
update-conda: true
178-
python-version: ${{ matrix.python-version }}
179-
conda-channels: anaconda, conda-forge
180-
- run: conda --version
181-
- run: which python
174+
- name: Install Miniconda (Windows)
175+
run: |
176+
Invoke-WebRequest -Uri "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -OutFile "Miniconda3.exe"
177+
Start-Process -FilePath "Miniconda3.exe" -ArgumentList "/InstallationType=JustMe /AddToPath=1 /RegisterPython=0 /S" -NoNewWindow -Wait
178+
echo "C:\Users\runneradmin\Miniconda3" >> $GITHUB_PATH
179+
180+
- name: Initialize Conda (Windows)
181+
run: |
182+
conda init
183+
conda --version
182184
183185
- name: Upgrade pip version
184186
run: |

0 commit comments

Comments
 (0)