Skip to content

Deploy to PyPI πŸš€ #1

Deploy to PyPI πŸš€

Deploy to PyPI πŸš€ #1

Workflow file for this run

name: Deploy to PyPI πŸš€
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install build tools
run: |
pip install build
pip install twine
python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}
repository-url: https://upload.pypi.org/legacy/