File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 11name : Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
2-
32on : push
4-
53jobs :
64 build :
75 name : Build distribution 📦
86 runs-on : ubuntu-latest
97 steps :
108 - uses : actions/checkout@v4
11-
129 - name : Install uv
13- uses : astral-sh/setup-uv@v4
14-
10+ uses : astral-sh/setup-uv@v5
1511 - name : Set up Python
1612 run : uv python install 3.13
17-
1813 - name : Build distribution
1914 run : uvx --from build pyproject-build --installer uv
20-
2115 - name : Store the distribution packages
2216 uses : actions/upload-artifact@v4
2317 with :
2418 name : python-package-distributions
2519 path : dist/
26-
2720 publish-to-pypi :
2821 name : Publish Python 🐍 distribution 📦 to PyPI
29- if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
22+ if : startsWith(github.ref, 'refs/tags/')
3023 needs :
3124 - build
3225 runs-on : ubuntu-latest
3326 environment :
3427 name : pypi
3528 url : https://pypi.org/project/dashio
3629 permissions :
37- id-token : write # IMPORTANT: mandatory for trusted publishing
30+ id-token : write
3831 steps :
3932 - name : Download all the dists
4033 uses : actions/download-artifact@v4
4134 with :
4235 name : python-package-distributions
4336 path : dist/
44-
4537 - name : Publish distribution 📦 to PyPI
46- uses : pypa/gh-action-pypi-publish@release/v1
38+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments