File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 11name : Wheels
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ # Run at 2:00 AM UTC daily
8+ - cron : ' 0 2 * * *'
9+ workflow_dispatch : # Allow manual trigger
410
511concurrency :
612 group : ${{ github.workflow }}-${{ github.ref }}
@@ -96,3 +102,20 @@ jobs:
96102 user : __token__
97103 password : ${{ secrets.pypi_password }}
98104 # To test: repository_url: https://test.pypi.org/legacy/
105+
106+ upload_nightly :
107+ needs : [build_wheels]
108+ runs-on : ubuntu-latest
109+ if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
110+ steps :
111+ - uses : actions/download-artifact@v4
112+ with :
113+ pattern : wheels-*
114+ path : dist
115+ merge-multiple : true
116+
117+ - name : Upload to scientific-python nightly channel
118+ uses : scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf
119+ with :
120+ artifacts_path : dist
121+ anaconda_nightly_upload_token : ${{ secrets.ANACONDA_NIGHTLY_UPLOAD_TOKEN }}
You can’t perform that action at this time.
0 commit comments