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 58cdf50 commit 3057831Copy full SHA for 3057831
.github/workflows/publish_pypi.yml
@@ -0,0 +1,31 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '20*'
7
8
+jobs:
9
+ build_and_deploy:
10
+ runs-on: ubuntu-latest
11
+ defaults:
12
+ run:
13
+ shell: bash -l {0}
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v3
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v4
21
22
+ python-version: "3.8"
23
+ - name: Install build dependencies
24
+ run: python -m pip install setuptools wheel
25
+ - name: Build wheel
26
+ run: python setup.py sdist bdist_wheel
27
+ - name: Publish to PyPI
28
+ uses: pypa/gh-action-pypi-publish@master
29
30
+ user: __token__
31
+ password: ${{ secrets.PYPI_TOKEN }}
0 commit comments