Skip to content

Commit 7a27d9e

Browse files
authored
Upload development wheels (#5)
1 parent 7a24eb6 commit 7a27d9e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)