File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,37 @@ jobs:
253253 - run : pip install sympy==${{ matrix.sympy-version }}
254254 - run : python -c 'import sympy; sympy.test(parallel=True)'
255255
256+ # Push nightly wheels to Anaconda scientific-python nightly channel
257+ # https://scientific-python.org/specs/spec-0004/
258+ # https://anaconda.org/scientific-python-nightly-wheels/python-flint
259+ # https://github.com/scientific-python/upload-nightly-action/issues/111
260+
261+ nightly-wheels-upload :
262+ name : Upload Anaconda Scientific Python nightly wheels
263+ needs : [build_wheels]
264+ # Run on push/merge to main
265+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
266+ runs-on : ubuntu-latest
267+
268+ steps :
269+ # Downloads all artifacts
270+ - name : Download release artifacts
271+ uses : actions/download-artifact@v4
272+ with :
273+ path : wheelhouse
274+ merge-multiple : true
275+
276+ - name : Copy the wheels into dist
277+ run : mkdir dist && cp wheelhouse/*.whl dist
278+
279+ - name : Upload wheels
280+ uses : scientific-python/upload-nightly-action@82396a2ed4269ba06c6b2988bb4fd568ef3c3d6b # 0.6.1
281+ with :
282+ artifacts_path : dist
283+ # This token is generated from anaconda.org
284+ # https://github.com/scientific-python/upload-nightly-action/issues/111
285+ anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
286+
256287 # Deploy wheels and sdist to PyPI
257288
258289 pypi_release :
You can’t perform that action at this time.
0 commit comments