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 2e1d1b8 commit 5c536dfCopy full SHA for 5c536df
.github/workflows/release.yml
@@ -0,0 +1,19 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ pypi_release:
9
+ name: Build with Poetry and Publish to PyPI
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-python@v2
14
+ - name: Install and configure Poetry
15
+ run: |
16
+ pip install poetry
17
+ poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
18
+ - name: Publish package
19
+ run: poetry publish --build
0 commit comments