Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesbertaglia authored Aug 19, 2020
1 parent c9d0d73 commit 25b3cf1
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload Python Package to PyPI
name: Release

on:
release:
Expand All @@ -13,10 +13,16 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Build and publish
uses: d1618033/gh-action-python-publish-using-poetry@master

- name: Build package
run: |
poetry build --ansi
- name: Publish package on PyPI
uses: pypa/[email protected]
with:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_password: ${{ secrets.PYPI_PASSWORD }}
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}



0 comments on commit 25b3cf1

Please sign in to comment.