There was an error while loading. Please reload this page.
1 parent f8ce092 commit 19318ceCopy full SHA for 19318ce
2 files changed
.github/workflows/publish.yml
@@ -0,0 +1,17 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: astral-sh/setup-uv@v4
13
+ - run: uv sync
14
+ - run: uv run python -m build
15
+ - uses: pypa/gh-action-pypi-publish@release/v1
16
+ with:
17
+ password: ${{ secrets.PYPI_API_TOKEN }}
pyproject.toml
@@ -54,6 +54,8 @@ dev = [
54
"pytest>=9.0.0",
55
"pytest-asyncio>=0.23.0",
56
"coverage>=7.0.0",
57
+ "build>=1.3.0",
58
+ "twine>=6.2.0",
59
]
60
lint = [
61
"ruff>=0.8.0",
0 commit comments