@@ -39,10 +39,10 @@ jobs:
3939 run : echo $CONDA/bin >> $GITHUB_PATH
4040 - name : Install conda-build
4141 run : conda install conda-build
42- - name : Build conda package with NumPy 2
42+ - name : Build conda package with NumPy 2.0
4343 run : |
4444 CHANNELS="-c conda-forge --override-channels"
45- VERSIONS="--python ${{ matrix.python }} --numpy 2"
45+ VERSIONS="--python ${{ matrix.python }} --numpy 2.0 "
4646 TEST="--no-test"
4747
4848 conda build \
5454 uses : actions/upload-artifact@v4
5555 with :
5656 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
57- path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2
57+ path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
5858
5959 test :
6060 needs : build
8282 - name : Create conda channel
8383 run : |
8484 mkdir -p $GITHUB_WORKSPACE/channel/linux-64
85- mv ${PACKAGE_NAME}-*.tar.bz2 $GITHUB_WORKSPACE/channel/linux-64
85+ mv ${PACKAGE_NAME}-*.conda $GITHUB_WORKSPACE/channel/linux-64
8686 conda index $GITHUB_WORKSPACE/channel
8787 # Test channel
8888 conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels
@@ -137,9 +137,7 @@ jobs:
137137 activate-environment : build
138138 python-version : ${{ matrix.python }}
139139 channels : conda-forge,nodefaults
140-
141- - name : Remove defaults channel
142- run : conda config --remove channels defaults
140+ conda-remove-defaults : ' true'
143141
144142 - name : Install conda-build
145143 run : conda install -n base conda-build
@@ -159,7 +157,7 @@ jobs:
159157 - name : Build conda package with NumPy 2.0
160158 run : |
161159 conda activate
162- conda build --no-test --python ${{ matrix.python }} --numpy 2 -c conda-forge --override-channels conda-recipe-cf
160+ conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
163161
164162 - name : Store conda paths as envs
165163 shell : bash -l {0}
@@ -170,7 +168,7 @@ jobs:
170168 uses : actions/upload-artifact@v4
171169 with :
172170 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
173- path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
171+ path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
174172
175173 test_windows :
176174 needs : build_windows
@@ -201,17 +199,15 @@ jobs:
201199 activate-environment : ${{ env.TEST_ENV_NAME }}
202200 python-version : ${{ matrix.python }}
203201 channels : conda-forge
204-
205- - name : Remove defaults channel
206- run : conda config --remove channels defaults
202+ conda-remove-defaults : ' true'
207203
208204 - name : Create conda channel with the artifact bit
209205 shell : cmd /C CALL {0}
210206 run : |
211207 echo ${{ env.workdir }}
212208 mkdir ${{ env.workdir }}\channel\
213209 mkdir ${{ env.workdir }}\channel\win-64
214- move ${{ env.PACKAGE_NAME }}-*.tar.bz2 ${{ env.workdir }}\channel\win-64
210+ move ${{ env.PACKAGE_NAME }}-*.conda ${{ env.workdir }}\channel\win-64
215211 dir ${{ env.workdir }}\channel\win-64
216212
217213 - name : Install conda index
0 commit comments