Skip to content

2.0.0

2.0.0 #4

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to PyPi
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4.1.1
- name: 🛠 Set up Python
uses: actions/setup-python@v4.7.1
with:
python-version: "3.11"
- name: 📦 Install poetry
run: make install-poetry
- name: 🔢 Set version number
run: poetry version "${{ github.event.release.tag_name }}"
- name: 🚀 Publish to PyPi
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --build --no-interaction