Skip to content

PyPi Package Upload

PyPi Package Upload #2

Workflow file for this run

name: PyPi Package Upload
# PyPi for this repository, not the web app that this repository produces
# This action is manually triggered
on: workflow_dispatch
# Disallow multiple parallel runs of this action
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
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
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}