Skip to content

Update README.md

Update README.md #13

name: Build and upload package to PIP
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install build package
run: |
python -m pip install --upgrade pip
python -m pip install build --user
- name: Build distribution
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
verbose: true