Skip to content

Commit

Permalink
Adds Publish action (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
stabacco authored Sep 10, 2020
1 parent fc4fefa commit 7905bed
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish

on:
push:
tags: "[1-9]+.[0-9]+.[0-9]+"

jobs:
ci:
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: 1.0.10
- name: Publish package
run: poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 7905bed

Please sign in to comment.