Skip to content

Commit 0808679

Browse files
Same changes to conda-forge-cf workflow as were done in conda-package workflow to fix windows build
1 parent 334b3ed commit 0808679

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

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

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,14 @@ jobs:
134134
fetch-depth: 0
135135
- uses: conda-incubator/setup-miniconda@v3
136136
with:
137-
auto-activate-base: true
137+
miniforge-version: latest
138138
conda-build-version: "*"
139-
activate-environment: true
139+
activate-environment: build
140140
python-version: ${{ matrix.python }}
141+
channels: conda-forge,nodefaults
142+
143+
- name: Remove defaults channel
144+
run: conda config --remove channels defaults
141145

142146
- name: Cache conda packages
143147
uses: actions/cache@v4
@@ -180,13 +184,17 @@ jobs:
180184
uses: actions/download-artifact@v4
181185
with:
182186
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python_ver }}
187+
183188
- uses: conda-incubator/setup-miniconda@v3
184189
with:
185-
auto-update-conda: true
186-
conda-build-version: '*'
187-
miniconda-version: 'latest'
188-
activate-environment: mkl_fft_test
189-
python-version: ${{ matrix.python_ver }}
190+
miniforge-version: latest
191+
activate-environment: build
192+
python-version: ${{ matrix.python }}
193+
channels: conda-forge,nodefaults
194+
195+
- name: Remove defaults channel
196+
run: conda config --remove channels defaults
197+
190198
- name: Create conda channel with the artifact bit
191199
shell: cmd /C CALL {0}
192200
run: |

0 commit comments

Comments
 (0)