Skip to content

Commit 0364a32

Browse files
committed
add action to publish to pypi
1 parent cd6ebf9 commit 0364a32

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: .github/workflows/publish.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: workflow_dispatch
2+
jobs:
3+
pypi-publish:
4+
name: Upload release to PyPI
5+
runs-on: ubuntu-latest
6+
environment:
7+
name: pypi
8+
url: https://pypi.org/p/mcp-clickhouse
9+
permissions:
10+
id-token: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: astral-sh/setup-uv@v5
14+
- run: uv python install
15+
- run: uv build
16+
17+
- name: Publish package distributions to PyPI
18+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)