Skip to content

Upload Python Package #9

Upload Python Package

Upload Python Package #9

Workflow file for this run

name: Upload Python Package
on:
workflow_dispatch:
branches: [main]
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies and build
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build
python -m build
- name: Publish a Python distribution to PyPi
uses: pypa/gh-action-pypi-publish@release/v1