Skip to content

Release 0.7.3

Release 0.7.3 #1

Workflow file for this run

name: Publish to Pypi
on:
workflow_dispatch:
release:
types: ["published"]
jobs:
lint:
name: "Package and Publish"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r test-requirements.txt --upgrade --upgrade-strategy eager
pip install setuptools wheel twine --upgrade --upgrade-strategy eager
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Deploy
run: |
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}