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 7770a88 commit 73cc441Copy full SHA for 73cc441
1 file changed
.github/workflows/release-to-pypi.yml
@@ -0,0 +1,22 @@
1
+name: Release to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build_and_publish:
9
+ runs-on: ubuntu-20.04
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-python@v2
13
+ with:
14
+ python-version: 3.8
15
+ - uses: abatilo/actions-poetry@v2.0.0
16
17
+ poetry-version: 1.1.6
18
+ - run: poetry install
19
+ - run: poetry build
20
+ - run: poetry publish
21
+ env:
22
+ POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
0 commit comments