Skip to content

fix: Updated version pyproject.toml (#10) #4

fix: Updated version pyproject.toml (#10)

fix: Updated version pyproject.toml (#10) #4

name: Build and publish the package PyPi
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build and publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry build
poetry publish