Skip to content

Merge pull request #57 from VincentAuriau/VincentAuriau-patch-1 #2

Merge pull request #57 from VincentAuriau/VincentAuriau-patch-1

Merge pull request #57 from VincentAuriau/VincentAuriau-patch-1 #2

Workflow file for this run

name: PyPI Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build the dist files
run: python setup.py sdist bdist_wheel
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*