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 5ab09e4 commit 9a28020Copy full SHA for 9a28020
.github/workflows/pypipublish.yml
@@ -1,10 +1,8 @@
1
name: Build and Deploy
2
on:
3
push:
4
- branches:
5
- - master
6
tags:
7
- - '*'
+ - 'v*.*.*'
8
jobs:
9
build-and-publish-python-module:
10
name: Build and publish python module to pypi
@@ -16,13 +14,7 @@ jobs:
16
14
uses: actions/setup-python@v1
17
15
with:
18
python-version: 3.6
19
- - name: Add wheel dependency
20
- run: pip install wheel
21
- - name: Generate dist
22
- run: python setup.py sdist bdist_wheel
23
- - name: Publish to PyPI
24
- if: startsWith(github.event.ref, 'refs/tags')
25
- uses: pypa/gh-action-pypi-publish@master
+ - name: Build and publish to pypi
+ uses: JRubics/poetry-publish@v1
26
27
- user: __token__
28
- password: ${{ secrets.pypi_password }}
+ pypi_token: ${{ secrets.pypi_password }}
0 commit comments