Skip to content

Publish on PyPI

Publish on PyPI #9

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
pip install twine
- name: Bundle 📦
run: python setup.py sdist
- name: Publish package 🐍
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true