File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed
Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1616 strategy :
1717 fail-fast : false
1818 matrix :
19- python-version : ["3.13 "]
19+ python-version : ["3.x "]
2020
2121 steps :
2222 - uses : actions/checkout@v4
4646 - name : Build the package
4747 run : |
4848 python -m build
49+ - name : Store the distribution packages
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : python-package-distributions
53+ path : dist/
54+
55+ publish-to-pypi :
56+ name : >-
57+ Publish Python 🐍 distribution 📦 to PyPI
58+ if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
59+ needs :
60+ - build
61+ runs-on : ubuntu-latest
62+ environment :
63+ name : pypi
64+ url : https://pypi.org/p/incrementalstats # Replace <package-name> with your PyPI project name
65+ permissions :
66+ id-token : write # IMPORTANT: mandatory for trusted publishing
67+
68+ steps :
69+ - name : Download all the dists
70+ uses : actions/download-artifact@v4
71+ with :
72+ name : python-package-distributions
73+ path : dist/
74+ - name : Publish distribution 📦 to PyPI
75+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11[project ]
22name = " incrementalstats"
3- version = " 0 .0.1 "
3+ version = " 1 .0.0 "
44authors = [
55 { name = " Cees-Bart Breunesse" , email = " ceeesb@gmail.com" },
66]
@@ -14,5 +14,5 @@ classifiers = [
1414]
1515
1616[project .urls ]
17- "Homepage" = " https://github.com/xxx/pyincrementalstats "
18- "Bug Tracker" = " https://github.com/xxx/pyincrementalstats /issues"
17+ "Homepage" = " https://github.com/ceesb/python-incrementalstats "
18+ "Bug Tracker" = " https://github.com/ceesb/python-incrementalstats /issues"
You can’t perform that action at this time.
0 commit comments