Skip to content

update readthedocs configuration file. #162

update readthedocs configuration file.

update readthedocs configuration file. #162

Workflow file for this run

name: publish-pypi
on:
push:
branches:
- main
jobs:
build-n-publish:
name: build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: install pypa/build
run: >-
python -m pip install build --user
- name: build a binary wheel and a source tarball
run: >-
python -m build --sdist --wheel --outdir dist/ .
- name: publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}