File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 11
11
pull_request :
12
12
paths :
13
13
- .github/workflows/wheels.yml
14
+ schedule :
15
+ - cron : " 34 3 * * *"
16
+
17
+ permissions :
18
+ actions : read
14
19
15
20
concurrency :
16
- group : wheels -${{ github.head_ref }}
21
+ group : ${{ github.workflow }} -${{ github.ref }}
17
22
cancel-in-progress : true
18
23
19
24
env :
@@ -139,3 +144,27 @@ jobs:
139
144
subject-path : " dist/boost_histogram-*"
140
145
141
146
- uses : pypa/gh-action-pypi-publish@release/v1
147
+
148
+ upload_nightly_wheels :
149
+ name : Upload nightly wheels to Anaconda Cloud
150
+ if : |
151
+ (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') &&
152
+ !github.event.repository.fork &&
153
+ github.ref == 'refs/heads/develop'
154
+ needs : [build_wheels]
155
+ runs-on : ubuntu-latest
156
+ steps :
157
+ - uses : actions/download-artifact@v4
158
+ with :
159
+ pattern : wheels-*
160
+ merge-multiple : true
161
+ path : dist
162
+
163
+ - name : List all files
164
+ run : ls -lh dist
165
+
166
+ - name : Upload wheel to Anaconda Cloud as nightly
167
+ uses : scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
168
+ with :
169
+ artifacts_path : dist
170
+ anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
Original file line number Diff line number Diff line change 13
13
[ ![ GitHub Discussion] [ github-discussions-badge ]] [ github-discussions-link ]
14
14
[ ![ Gitter] [ gitter-badge ]] [ gitter-link ]
15
15
[ ![ Scikit-HEP] [ sk-badge ]] ( https://scikit-hep.org/ )
16
+ [ ![ SPEC 4 — Using and Creating Nightly Wheels] [ spec4-badge ]] [ spec4-link ]
16
17
17
18
Python bindings for [ Boost::Histogram] [ ] ([ source] [ Boost::Histogram source ] ), a C++14 library. This is one of the [ fastest libraries] [ ] for
18
19
histogramming, while still providing the power of a full histogram object. See
@@ -314,3 +315,5 @@ Support for this work was provided by the National Science Foundation cooperativ
314
315
[ Boost::Histogram source ] : https://github.com/boostorg/histogram
315
316
[ Hist ] : https://github.com/scikit-hep/hist
316
317
[ fastest libraries ] : https://iscinumpy.gitlab.io/post/histogram-speeds-in-python/
318
+ [ spec4-badge ] : https://img.shields.io/badge/SPEC-4-green?labelColor=%23004811&color=%235CA038
319
+ [ spec4-link ] : https://scientific-python.org/specs/spec-0004/
You can’t perform that action at this time.
0 commit comments