Skip to content

Release

Release #1

Workflow file for this run

name: Release
on: ["workflow_dispatch"]
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Build
run: pipx run build .
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true