name: pypi on: release: types: - created jobs: publish: runs-on: ubuntu-latest env: POETRY_VIRTUALENVS_CREATE: false steps: - uses: actions/checkout@v2 - name: Install poetry run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - name: Pypi Publish run: | make build make publish