We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ed128 commit e3e5c99Copy full SHA for e3e5c99
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+name: Publish
2
+
3
+on:
4
+ release:
5
+ types: [ published ]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ python-version: [ 3.7 ]
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v2
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
22
+ - name: Install dependencies
23
+ run: |
24
+ pip install -U poetry
25
+ - name: Publish
26
+ env:
27
+ PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
+ PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
+ run: poetry publish --build -u "${{ env.PYPI_USERNAME }}" -p "${{ env.PYPI_PASSWORD }}"
0 commit comments