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