File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ jobs:
263263 name : Nightly upload
264264 if : github.repository == 'scikit-learn/scikit-learn-release' && (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'none'))
265265 runs-on : ubuntu-latest
266+ environment : upload_anaconda
266267 needs : [build_wheels, build_sdist]
267268
268269 steps :
@@ -281,12 +282,12 @@ jobs:
281282 create-args : >-
282283 anaconda-client
283284
284- # - name: Upload to anaconda.org
285- # shell: bash -el {0} # required for micromamba
286- # env:
287- # TOKEN: ${{ secrets.SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN }}
288- # run: |
289- # anaconda -q -t ${TOKEN} upload --force -u scientific-python-nightly-wheels ./dist/*.whl
285+ - name : Upload to anaconda.org
286+ shell : bash -el {0} # required for micromamba
287+ env :
288+ TOKEN : ${{ secrets.SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN }}
289+ run : |
290+ anaconda -q -t ${TOKEN} upload --force -u scientific-python-nightly-wheels ./dist/*.whl
290291
291292 pypi-publish :
292293 name : Publish release to PyPI
You can’t perform that action at this time.
0 commit comments