Skip to content

v0.1.2

v0.1.2 #3

Workflow file for this run

name: Upload to PyPi
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.2 python3 -
export PATH="/root/.local/bin:$PATH"
poetry run pip install -U pip
poetry install
- name: Publish package
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}