There was an error while loading. Please reload this page.
1 parent 4c9752c commit 6dd147fCopy full SHA for 6dd147f
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write # Required for trusted publishing
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.12"
18
19
+ - name: Install build tools
20
+ run: pip install build
21
22
+ - name: Build package
23
+ run: python -m build
24
25
+ - name: Publish to PyPI
26
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments