Skip to content

Publish on PyPI

Publish on PyPI #12

Workflow file for this run

name: Publish on PyPI
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup python 🐍
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies ☕️
run: |
pip install -U pip setuptools
pip install -U twine build
- name: Bundle 📦
run: python -m build
- name: Publish package 🐍
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true