Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7a2a23bfeThis file is pinned to the selected release. Download the original to open it in your design tool.
name: Upload Python Package
on:
release:
types:
- published
permissions:
contents: read
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: python -m pip install -U setuptools wheel build
- name: Build
run: python -m build .
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true