Skip to content

Commit c536430

Browse files
committed
fix error when activating windows environment in public CI
1 parent ee7565e commit c536430

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/conda-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ jobs:
100100
with:
101101
miniforge-variant: Miniforge3
102102
miniforge-version: latest
103-
activate-environment: build
103+
auto-activate-base: true
104+
activate-environment: ""
104105
channels: conda-forge
105106
conda-remove-defaults: true
106107
python-version: ${{ matrix.python }}
107108

108109
- name: Install conda build
109110
run: |
110-
conda activate
111-
conda install -y conda-build
111+
conda install -n base -y conda-build
112112
conda list -n base
113113
114114
- name: Cache conda packages
@@ -133,7 +133,6 @@ jobs:
133133
env:
134134
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
135135
run: |
136-
conda activate
137136
# TODO: roll back use of Intel channel when 2025.1 is available on conda-forge
138137
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
139138

0 commit comments

Comments
 (0)