We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9bf8e7 commit e235225Copy full SHA for e235225
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+name: Publish Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.x'
17
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install build
22
23
+ - name: Build package
24
+ run: python -m build
25
26
+ - name: Publish to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
28
29
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments