Skip to content

Workflow file for this run

name: Publish package to PyPI
on:
release:
types: [published]
jobs:
push:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Dependencies
run: pip install -r requirements/pip.txt
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}