v3.6.6 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPI | |
on: | |
release: | |
types: [created] | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install necessary tools | |
run: | | |
python -m pip install --upgrade setuptools wheel twine | |
- name: Create source and wheel distributions | |
run: python setup.py sdist bdist_wheel | |
- name: Upload to PyPI | |
run: twine upload dist/* -u robotical -p ${{ secrets.PYPI_PASSWORD }} |