Skip to content

Issue #83: Use Asyncio (Wayback Machine). #84

Issue #83: Use Asyncio (Wayback Machine).

Issue #83: Use Asyncio (Wayback Machine). #84

Workflow file for this run

name: Publish
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox-gh-actions wheel twine
if [ -f requirements-dev.in ]; then pip install -r requirements-dev.in; fi
- name: Create packages
run: |
python setup.py sdist bdist_wheel
- name: Check packages
run: |
twine check dist/*
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}