Skip to content

Commit 48319d7

Browse files
committed
revert setup miniconda to creating a build env in conda package on Windows
1 parent cb6ac74 commit 48319d7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 3 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-
auto-activate: true
104-
activate-environment: base
103+
activate-environment: build
105104
channels: conda-forge
106105
conda-remove-defaults: true
107106
python-version: ${{ matrix.python }}
108107

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

0 commit comments

Comments
 (0)