Skip to content

Available from Python3.8.1 onwards #2

Available from Python3.8.1 onwards

Available from Python3.8.1 onwards #2

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