File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -157,8 +157,12 @@ jobs:
157157 restore-keys : |
158158 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
159159 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
160+
160161 - name : Build conda package with NumPy 2.0
161- run : conda build --no-test --python ${{ matrix.python }} --numpy 2 -c conda-forge --override-channels conda-recipe-cf
162+ run : |
163+ conda activate
164+ conda build --no-test --python ${{ matrix.python }} --numpy 2 -c conda-forge --override-channels conda-recipe-cf
165+
162166 - name : Upload artifact
163167 uses : actions/upload-artifact@v4
164168 with :
Original file line number Diff line number Diff line change @@ -128,15 +128,15 @@ jobs:
128128 env :
129129 conda-bld : C:\Miniconda\conda-bld\win-64\
130130 steps :
131- - uses : actions/checkout@v4
131+ - uses : actions/checkout@v4.2.0
132132 with :
133133 fetch-depth : 0
134134 - uses : conda-incubator/setup-miniconda@v3
135135 with :
136136 miniforge-version : latest
137137 activate-environment : build
138138 python-version : ${{ matrix.python }}
139- channels : conda-forge,nodefaults
139+ channels : conda-forge
140140
141141 - name : Remove defaults channel
142142 run : conda config --remove channels defaults
@@ -157,8 +157,12 @@ jobs:
157157 restore-keys : |
158158 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
159159 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
160+
160161 - name : Build conda package
161- run : conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
162+ run : |
163+ conda activate
164+ conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
165+
162166 - name : Upload artifact
163167 uses : actions/upload-artifact@v4
164168 with :
You can’t perform that action at this time.
0 commit comments