Files
Matthew Peveler 4b9b227a4b fix publish command missing wheel
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-06 22:02:03 -04:00

27 lines
547 B
YAML

name: Publish 🐍s
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: install dependencies
run: python -m pip install -U pip wheel setuptools
- run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TOKEN }}