Skip to content

Remove Python 2 Support #1

Remove Python 2 Support

Remove Python 2 Support #1

Workflow file for this run

name: Publish
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Poetry
run: |
python -m pip install --upgrade poetry wheel
- name: Install dependencies
run: |
poetry install
- name: Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry config pypi-token.pypi $POETRY_PYPI_TOKEN_PYPI
poetry build
poetry publish