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 4bba783 commit 7dc58f8Copy full SHA for 7dc58f8
.github/workflows/publish.yaml
@@ -0,0 +1,30 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - created
7
8
+jobs:
9
+ wheels:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v2
14
15
+ - name: Set up Python 3.x
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: "3.x"
19
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install poetry==1.1.12
24
25
+ - name: Build and Publish
26
27
+ poetry config pypi-token.pypi "$PYPI_TOKEN"
28
+ poetry publish --build
29
+ env:
30
+ PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
0 commit comments