Skip to content

Commit 55554f6

Browse files
committed
update conda activation in Windows CI
1 parent 0e3f686 commit 55554f6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/conda-package-cf.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ jobs:
9292
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
9393
with:
9494
conda-remove-defaults: true
95-
auto-activate-base: true
96-
activate-environment: ""
95+
auto-activate: true
96+
activate-environment: base
9797

9898
- name: Cache conda packages
9999
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
@@ -107,7 +107,7 @@ jobs:
107107
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
108108
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
109109
- name: Install conda-build
110-
run: conda install conda-build
110+
run: conda install -n base -y conda-build
111111
- name: Setup MSVC
112112
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
113113
- name: Build conda package
@@ -218,8 +218,8 @@ jobs:
218218
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
219219
with:
220220
conda-remove-defaults: true
221-
auto-activate-base: true
222-
activate-environment: ""
221+
auto-activate: true
222+
activate-environment: base
223223
- name: Install conda-build
224224
# Needed to be able to run conda index
225225
run: conda install conda-build

0 commit comments

Comments
 (0)