Skip to content

3.15.6

3.15.6 #15

Workflow file for this run

name: Release PYPI Package
on:
release:
types: [created]
jobs:
Publish:
name: Build & Publish distribution 📦 to PyPI 🐍
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/cadwyn
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-python-poetry
- run: poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1