tenacity 9.0.0 #40
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: Release deploy | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish: | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup Python 🔧 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.11 | |
- name: Build 🔧 & Deploy 🚀 | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
pip install tox twine wheel | |
echo -e "[pypi]" >> ~/.pypirc | |
echo -e "username = __token__" >> ~/.pypirc | |
echo -e "password = $PYPI_TOKEN" >> ~/.pypirc | |
python setup.py sdist bdist_wheel | |
twine upload dist/* |