Skip to content

Merge pull request #58 from VincentAuriau/VincentAuriau-patch-2 #3

Merge pull request #58 from VincentAuriau/VincentAuriau-patch-2

Merge pull request #58 from VincentAuriau/VincentAuriau-patch-2 #3

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 build
- name: Build the dist files
run: python -m build
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*