Skip to content

Fix readthedocs yml connfig error: Value build not found (#411) #9

Fix readthedocs yml connfig error: Value build not found (#411)

Fix readthedocs yml connfig error: Value build not found (#411) #9

Workflow file for this run

name: Publish sdist tarball to PyPi
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build-n-publish:
name: Build and publish on PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Build a source tarball
run: python setup.py sdist
- name: Publish distribution package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}