Skip to content

chore: update version #1

chore: update version

chore: update version #1

Workflow file for this run

name: publish
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
pypi-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Install dependencies
run: poetry install --no-interaction
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --build --username __token__ --password $POETRY_PYPI_TOKEN_PYPI