File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and upload to PyPi
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+ release :
8+ types :
9+ - published
10+
11+ jobs :
12+ test_pypi_push :
13+ environment :
14+ name : deploy
15+ url : https://test.pypi.org/p/basicrta
16+ permissions :
17+ id-token : write
18+ if : |
19+ github.repository == 'Becksteinlab/basicrta' &&
20+ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
21+ name : Build, upload and test pure Python wheels to TestPypi
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ - name : testpypi_deploy
28+ uses : MDAnalysis/pypi-deployment@main
29+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
30+ with :
31+ test_submission : true
32+ package_name : ' basicrta'
33+
34+ pypi_push :
35+ environment :
36+ name : deploy
37+ url : https://pypi.org/p/basicrta
38+ permissions :
39+ id-token : write
40+ if : |
41+ github.repository == 'Becksteinlab/basicrta' &&
42+ (github.event_name == 'release' && github.event.action == 'published')
43+ name : Build, upload and test pure Python wheels to PyPi
44+ runs-on : ubuntu-latest
45+
46+ steps :
47+ - uses : actions/checkout@v4
48+
49+ - name : pypi_deploy
50+ uses : MDAnalysis/pypi-deployment@main
51+ if : github.event_name == 'release' && github.event.action == 'published'
52+ with :
53+ package_name : ' basicrta'
You can’t perform that action at this time.
0 commit comments