Skip to content

2.2.7

2.2.7 #72

Workflow file for this run

name: Publish to PyPi
on:
release:
types: [released, prereleased]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python "3.10"
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.2.2
- name: Set Version
run: |
poetry version ${GITHUB_REF#refs/*/}
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.13
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}