Skip to content

v3.3.1

v3.3.1 #23

Workflow file for this run

# This file was generated from skeleton-ci/skeleton-python@0.0.2rc-244-g52a2805.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/skeleton-ci/skeleton-python/tree/0.0.2rc-244-g52a2805/project/.github/workflows/%23%25%20if%20pypi%20%25%23release.yml%23%25%20endif%20%25%23.jinja
# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
# Do not submit PRs to this file unless for this repo specifically.
# To change this workflow globally, submit a PR to https://github.com/skeleton-ci/skeleton-python.
name: "PyPI"
on:
release:
types: ["published"]
jobs:
release:
runs-on: "ubuntu-latest"
environment: "Release"
permissions:
id-token: "write"
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
- uses: "actions/checkout@v4"
- name: "Install Poetry"
run: "pipx install poetry==1.8.2"
- name: "Build with poetry"
run: "poetry build"
- name: "Publish package distributions to PyPI"
uses: "pypa/gh-action-pypi-publish@release/v1"