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 3a26d28 commit ca0525aCopy full SHA for ca0525a
.github/workflows/pypi.yml
@@ -0,0 +1,27 @@
1
+name: PyPI deploy
2
+on:
3
+ release:
4
+ types:
5
+ - created
6
+
7
+jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ python-version: [3.9]
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Python ${{ matrix.python-version }}
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: ${{ matrix.python-version }}
20
+ - name: Install dependencies
21
+ run: python -m pip install --upgrade pip setuptools wheel
22
+ - name: Create the source distribution
23
+ run: python setup.py sdist
24
+ - name: Publish distribution to PyPI
25
+ uses: pypa/gh-action-pypi-publish@master
26
27
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments