Skip to content

v0.3.6 (2023-11-02)

v0.3.6 (2023-11-02) #3

Workflow file for this run

name: Release
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: cache poetry install
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-3.11-0
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Build and publish package
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1