Skip to content

Merge pull request #173 from Yelp/bariteau/fix_publish_action #10

Merge pull request #173 from Yelp/bariteau/fix_publish_action

Merge pull request #173 from Yelp/bariteau/fix_publish_action #10

Workflow file for this run

name: Publish on PyPI
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Python dependencies
run: pip install wheel setuptools
- name: Create a Wheel file and source distribution
run: python setup.py sdist bdist_wheel
- name: Publish distribution package to PyPI
uses: pypa/gh-action-pypi-publish@v1.2.2
with:
password: ${{ secrets.pypi_password }}