Skip to content

Version 0.3.19

Version 0.3.19 #2

Workflow file for this run

---
name: PyPI Release
on:
release:
types:
- created
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"] # Use only one version for sdist
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Check out code
uses: actions/checkout@v2
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
pip install twine
twine upload dist/*