@@ -200,11 +200,14 @@ jobs:
200200 uses : actions/download-artifact@v3
201201 with :
202202 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
203+
203204 - uses : conda-incubator/setup-miniconda@v3
204205 with :
206+ auto-update-conda : true
207+ conda-build-version : ' *'
205208 miniforge-variant : Miniforge3
206209 miniforge-version : latest
207- activate-environment : build
210+ activate-environment : mkl_umath_test
208211 channels : conda-forge
209212 python-version : ${{ matrix.python }}
210213
@@ -219,18 +222,15 @@ jobs:
219222 - name : Index the channel
220223 shell : cmd /C CALL {0}
221224 run : |
222- conda activate
223225 conda index ${{ env.workdir }}\channel
224226
225227 - name : Dump mkl_umath version info from created channel to STDOUT
226228 shell : cmd /C CALL {0}
227229 run : |
228- conda activate
229230 conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json
230231 - name : Dump mkl_umath version info from created channel into ver.json
231232 shell : cmd /C CALL {0}
232233 run : |
233- conda activate
234234 conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
235235 - name : Output content of workdir
236236 shell : pwsh
@@ -248,7 +248,6 @@ jobs:
248248 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
249249 SET PACKAGE_VERSION=%%F
250250 )
251- conda activate
252251 conda install -n mkl_umath_test ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
253252 - name : Display lockfile content
254253 shell : pwsh
0 commit comments