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 12896cf commit 04423e7Copy full SHA for 04423e7
.github/workflows/release.yml
@@ -0,0 +1,26 @@
1
+name: Release to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build-and-pubish:
9
+ name: Build and Publish
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
+ with:
15
+ ref: ${{ github.event.release.tag_name }}
16
+ - name: Install Python
17
+ uses: actions/setup-python@v2
18
+ - name: Install build dependencies
19
+ run: python -m pip install -U setuptools build wheel
20
+ - name: Build distributions
21
+ run: python -m build
22
+ - name: Publish
23
+ uses: pypa/gh-action-pypi-publish@master
24
25
+ user: __token__
26
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments