We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 680ceb4 + 159e2f2 commit 4fe06fdCopy full SHA for 4fe06fd
.github/workflows/pythonpublish.yml
@@ -0,0 +1,24 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: '3.x'
16
+ - name: Install dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install --upgrade poetry
20
+ poetry install
21
+ poetry config http-basic.pypi __token__ ${{ secrets.PYPI_TOKEN }}
22
+ - name: Build and publish
23
24
+ poetry publish --build
0 commit comments