mirror of
https://github.com/kennethreitz/crayons.git
synced 2026-06-05 23:10:18 +00:00
4b9b227a4b
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
27 lines
547 B
YAML
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 }}
|