File tree Expand file tree Collapse file tree 2 files changed +0
-43
lines changed
Expand file tree Collapse file tree 2 files changed +0
-43
lines changed Original file line number Diff line number Diff line change 5858 version : " 0.5.13"
5959 - name : Publish distribution 📦 to PyPI
6060 run : uv publish
61-
62- publish-to-testpypi :
63- name : Publish Python 🐍 distribution 📦 to TestPyPI
64- needs :
65- - build
66- runs-on : ubuntu-latest
67-
68- environment :
69- name : testpypi
70- url : https://test.pypi.org/p/mcp-grafana
71-
72- permissions :
73- id-token : write # IMPORTANT: mandatory for trusted publishing
74-
75- steps :
76- # We need to checkout the repository so that we can use the
77- # testpypi index in pyproject.toml.
78- - uses : actions/checkout@v4
79- with :
80- persist-credentials : false
81- - name : Download all the dists
82- uses : actions/download-artifact@v4
83- with :
84- name : python-package-distributions
85- path : dist/
86-
87- - name : Install uv
88- uses : astral-sh/setup-uv@v5
89- with :
90- # Install a specific version of uv.
91- version : " 0.5.13"
92- - name : Publish distribution 📦 to TestPyPI
93- run : uv publish --index testpypi
Original file line number Diff line number Diff line change @@ -34,13 +34,3 @@ build-backend = "hatchling.build"
3434
3535[tool .pytest .ini_options ]
3636asyncio_default_fixture_loop_scope = " session"
37-
38- [[tool .uv .index ]]
39- name = " pypi"
40- url = " https://pypi.org/simple/"
41- publish-url = " https://pypi.org/legacy/"
42-
43- [[tool .uv .index ]]
44- name = " testpypi"
45- url = " https://test.pypi.org/simple/"
46- publish-url = " https://test.pypi.org/legacy/"
You can’t perform that action at this time.
0 commit comments