Skip to content

PyPi Upload

PyPi Upload #7

Workflow file for this run

name: PyPi Upload
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install build
- name: Build packages
run: |
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.pypi_user }}
password: ${{ secrets.pypi_password }}
packages_dir: ./dist/