Skip to content

Latest Release

Latest Release #3

Workflow file for this run

name: Latest Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish-release:
runs-on: ubuntu-latest
permissions:
id-token: write
environment: release
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- uses: pdm-project/setup-pdm@v3
name: Set up PDM
with:
python-version: "3.12"
cache: true
- name: Build package
run: pdm build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1