Skip to content

v2.0.5

v2.0.5 #8

# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
# https://github.com/marketplace/actions/pypi-publish
name: upload to pypi
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: install deps
run: |
python -m pip install --upgrade pip setuptools wheel
- name: build
run: |
python setup.py sdist bdist_wheel
- name: publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}