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 Python Package
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ id-token : write
13+ contents : read
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Set up Python
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : " 3.13"
21+
22+ - name : Build package
23+ working-directory : python
24+ run : |
25+ python -m pip install --upgrade pip hatch
26+ hatch build
27+
28+ - name : Publish to PyPI (Trusted Publishing)
29+ uses : pypa/gh-action-pypi-publish@release/v1
30+ with :
31+ packages-dir : python/dist
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ test = [
3232]
3333
3434[project .urls ]
35- Homepage = " https://github.com/pyritone /Py-Ritone"
36- Repository = " https://github.com/pyritone /Py-Ritone"
35+ Homepage = " https://github.com/GSstarGamer /Py-Ritone"
36+ Repository = " https://github.com/GSstarGamer /Py-Ritone"
3737
3838[project .scripts ]
3939pyritone = " pyritone.cli:main"
@@ -55,3 +55,4 @@ include = [
5555pythonpath = [" src" ]
5656addopts = " -q"
5757asyncio_mode = " auto"
58+
You can’t perform that action at this time.
0 commit comments