We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c897d8c commit 3e58031Copy full SHA for 3e58031
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ environment: pypi
10
+ permissions:
11
+ id-token: write
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-python@v5
15
+ with:
16
+ python-version: "3.12"
17
+ - name: Install build tools
18
+ run: pip install build
19
+ - name: Build package
20
+ run: python -m build
21
+ - name: Publish to PyPI
22
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments