Skip to content

Release 2.1.0

Release 2.1.0 #21

Workflow file for this run

name: Create and release package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U twine
- name: Build package
run: |
python setup.py sdist
python setup.py bdist_wheel
- name: Release on Pypi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
run: |
echo "Publishing on pypi..."
twine upload dist/*
rm -R dist
rm -R build