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 b44ff3a commit 5fec4ddCopy full SHA for 5fec4dd
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Check out the code
14
+ uses: actions/checkout@v2
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: '3.13'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install build
25
26
+ - name: Build the package
27
+ run: python -m build
28
29
+ - name: Publish to PyPI
30
+ env:
31
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
32
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
33
34
+ pip install twine
35
+ twine upload dist/*
0 commit comments