Skip to content

v0.1.5

v0.1.5 #6

Workflow file for this run

name: Publish Python Package
on:
workflow_dispatch:
release:
types: [created]
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
# needs: [test]
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: pip
cache-dependency-path: '**/pyproject.toml'
- name: Install Poetry
run: pip install poetry poetry-dynamic-versioning
- name: Install dependencies
run: poetry install --no-interaction
- name: Build source and wheel archives
run: poetry build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1