File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 88
88
fetch-depth : 0 # required for version resolution
89
89
90
90
- name : Set up Pixi
91
- uses : prefix-dev/setup-pixi@v0.8.14
91
+ uses : prefix-dev/setup-pixi@v0.9.0
92
92
with :
93
93
pixi-version : v0.49.0
94
94
cache : false
Original file line number Diff line number Diff line change 1
1
name : Wheels
2
2
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
4
10
5
11
concurrency :
6
12
group : ${{ github.workflow }}-${{ github.ref }}
@@ -96,3 +102,20 @@ jobs:
96
102
user : __token__
97
103
password : ${{ secrets.pypi_password }}
98
104
# 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