Skip to content

Bump actions/setup-python from 2.3.1 to 5.1.0 #1503

Bump actions/setup-python from 2.3.1 to 5.1.0

Bump actions/setup-python from 2.3.1 to 5.1.0 #1503

Workflow file for this run

name: release
on: push
jobs:
publish-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: 3.8
- name: Install dependencies
run: pip install -qU setuptools wheel twine
- name: Generating distribution archives
run: python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}