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 019caa8 commit 72668c2Copy full SHA for 72668c2
.github/workflows/pypi-publish.yml
@@ -0,0 +1,28 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: '3.6'
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install build
22
+ - name: Build package
23
+ run: python -m build
24
+ - name: Publish package
25
+ uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
26
27
+ user: __token__
28
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments