There was an error while loading. Please reload this page.
1 parent f712cee commit e3d3a31Copy full SHA for e3d3a31
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,23 @@
1
+name: Publish to PyPI (tags)
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
8
+permissions:
9
+ contents: read
10
+ id-token: write # required for Trusted Publishing (no API token)
11
12
+jobs:
13
+ build-and-publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.x"
20
+ - run: pip install build
21
+ - run: python -m build
22
+ - name: Publish to PyPI
23
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments