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 bb05fc9 commit 2c29c30Copy full SHA for 2c29c30
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+name: Publish
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v5
14
+ with:
15
+ python-version: '3.11'
16
+ - name: Install dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install --upgrade setuptools
20
+ pip install --upgrade build
21
+ pip install --upgrade twine
22
+ pip install -r requirements.txt
23
+ - name: Build and publish
24
+ env:
25
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
26
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
27
28
+ python -m build
29
+ python -m twine upload dist/*
0 commit comments