File tree 1 file changed +21
-0
lines changed 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 9
9
branches :
10
10
- master
11
11
- v1.**
12
+ # Make it possible to upload wheels manually if needed
13
+ workflow_dispatch :
14
+ inputs :
15
+ push_wheels :
16
+ description : >
17
+ 'Push wheels to Anaconda if "true". Default is "false". Warning: this will overwrite existing wheels.'
18
+ required : false
19
+ default : " false"
20
+ # Upload wheels to Anaconda on a schedule
21
+ schedule :
22
+ # Run at 0300 hours on days 3 and 17 of the month
23
+ - cron : " 0 3 3,17 * *"
12
24
13
25
env :
14
26
FORCE_COLOR : 3
58
70
pip install matplotlib pytest
59
71
python -c "import pywt; print(pywt.__version__)"
60
72
pytest --pyargs pywt
73
+
74
+ # https://anaconda.org/scientific-python-nightly-wheels/pywavelets
75
+ # WARNING: this job will overwrite existing wheels.
76
+ - name : Push to Anaconda PyPI index
77
+ if : (github.repository == 'PyWavelets/pywt') && (github.event_name == 'push' && github.ref == 'refs/heads/master') || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true') || (github.event_name == 'schedule')
78
+ uses : scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # v0.5.0
79
+ with :
80
+ artifacts_path : dist/
81
+ anaconda_nightly_upload_token : ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
You can’t perform that action at this time.
0 commit comments