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 b4be2f0 commit 9794883Copy full SHA for 9794883
.github/workflows/release.yml
@@ -0,0 +1,32 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ deploy:
10
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: '3.13'
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip setuptools
22
+ python -m pip install build wheel twine
23
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24
+ python -m pip list
25
+ - name: Build and publish
26
+ env:
27
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
30
+ python -m build --wheel --no-isolation
31
+ twine upload dist/*
32
0 commit comments