We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2ee97 commit 300f254Copy full SHA for 300f254
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
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
+ with:
13
+ fetch-depth: 0
14
+ - uses: actions/setup-python@v5
15
16
+ python-version: '3.13'
17
+ cache: 'pip'
18
+ - name: Build package
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install build
22
+ python -m build
23
+ - name: Publish to PyPI
24
+ uses: pypa/gh-action-pypi-publish@release/v1
25
26
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments