Skip to content

v0.14.3

v0.14.3 #63

Workflow file for this run

name: Publish PyPI
on:
release:
types: [published]
workflow_dispatch:
inputs:
no-cache:
description: "Run tests without cache"
default: false
required: false
type: boolean
jobs:
Publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # this is necessary to get correct version of the tag
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry self add "poetry-dynamic-versioning[plugin]"
- name: PyPI settings
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Build and publish via Poetry
run: |
poetry build
poetry publish