@@ -39,10 +39,10 @@ jobs:
39
39
run : echo $CONDA/bin >> $GITHUB_PATH
40
40
- name : Install conda-build
41
41
run : conda install conda-build
42
- - name : Build conda package with NumPy 2
42
+ - name : Build conda package with NumPy 2.0
43
43
run : |
44
44
CHANNELS="-c conda-forge --override-channels"
45
- VERSIONS="--python ${{ matrix.python }} --numpy 2"
45
+ VERSIONS="--python ${{ matrix.python }} --numpy 2.0 "
46
46
TEST="--no-test"
47
47
48
48
conda build \
54
54
uses : actions/upload-artifact@v4
55
55
with :
56
56
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
58
58
59
59
test :
60
60
needs : build
82
82
- name : Create conda channel
83
83
run : |
84
84
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
86
86
conda index $GITHUB_WORKSPACE/channel
87
87
# Test channel
88
88
conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels
@@ -137,9 +137,7 @@ jobs:
137
137
activate-environment : build
138
138
python-version : ${{ matrix.python }}
139
139
channels : conda-forge,nodefaults
140
-
141
- - name : Remove defaults channel
142
- run : conda config --remove channels defaults
140
+ conda-remove-defaults : ' true'
143
141
144
142
- name : Install conda-build
145
143
run : conda install -n base conda-build
@@ -159,7 +157,7 @@ jobs:
159
157
- name : Build conda package with NumPy 2.0
160
158
run : |
161
159
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
163
161
164
162
- name : Store conda paths as envs
165
163
shell : bash -l {0}
@@ -170,7 +168,7 @@ jobs:
170
168
uses : actions/upload-artifact@v4
171
169
with :
172
170
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
174
172
175
173
test_windows :
176
174
needs : build_windows
@@ -201,17 +199,15 @@ jobs:
201
199
activate-environment : ${{ env.TEST_ENV_NAME }}
202
200
python-version : ${{ matrix.python }}
203
201
channels : conda-forge
204
-
205
- - name : Remove defaults channel
206
- run : conda config --remove channels defaults
202
+ conda-remove-defaults : ' true'
207
203
208
204
- name : Create conda channel with the artifact bit
209
205
shell : cmd /C CALL {0}
210
206
run : |
211
207
echo ${{ env.workdir }}
212
208
mkdir ${{ env.workdir }}\channel\
213
209
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
215
211
dir ${{ env.workdir }}\channel\win-64
216
212
217
213
- name : Install conda index
0 commit comments