File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Anaconda Cloud nightly wheels
2+
3+ on :
4+ # Run daily at 1:23 UTC
5+ schedule :
6+ - cron : 23 1 * * *
7+ # Run on demand with workflow dispatch
8+ workflow_dispatch :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ build_wheel :
16+ name : Build and upload wheel
17+ if : github.repository_owner == 'scikit-build'
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - uses : hynek/build-and-inspect-python-package@v2
25+
26+ upload_nightly_wheels :
27+ name : Upload nightly wheels to Anaconda Cloud
28+ if : github.repository_owner == 'scikit-build'
29+ needs : [build_wheel]
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/download-artifact@v4
33+ with :
34+ name : Packages
35+ path : dist
36+
37+ - name : List wheel to be deployed
38+ run : ls -lha dist/*.whl
39+
40+ - name : Upload wheel to Anaconda Cloud as nightly
41+ uses : scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
42+ with :
43+ artifacts_path : dist
44+ anaconda_nightly_upload_token :
45+ ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
You can’t perform that action at this time.
0 commit comments