File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ name : Build distribution
11+ runs-on : ubuntu-latest
12+ if : github.event.repository.fork == false
13+ steps :
14+ - uses : actions/checkout@v6
15+ - uses : actions/setup-python@v6
16+ with :
17+ python-version : 3.x
18+ - name : Build
19+ run : |
20+ python -m pip install --upgrade build
21+ python -m build
22+ - uses : actions/upload-artifact@v7
23+ with :
24+ name : dist
25+ path : dist/
26+
27+ publish :
28+ name : Publish to PyPI
29+ needs : build
30+ runs-on : ubuntu-latest
31+ environment : release
32+ permissions :
33+ id-token : write
34+ steps :
35+ - uses : actions/download-artifact@v8
36+ with :
37+ name : dist
38+ path : dist/
39+ - uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1- __version__ = "0.21.2 "
1+ __version__ = "0.21.3 "
You can’t perform that action at this time.
0 commit comments