Skip to content

Fix "Server has gone away" and other things #9

Fix "Server has gone away" and other things

Fix "Server has gone away" and other things #9

name: Publish to PyPI
on:
release:
types:
- created
jobs:
build-n-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- name: Check out git repository
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Build and publish to PYPI
run: |
poetry publish --build
env:
GITHUB: 1
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}