Skip to content

Updates for automated testing #1

Updates for automated testing

Updates for automated testing #1

Workflow file for this run

name: PyPI Release
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
jobs:
build:
name: Build package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build backend and twine
run: python -m pip install --upgrade build twine
- name: Clean old builds
run: rm -rf dist build *.egg-info
- name: Build sdist/wheel
run: python -m build
- name: Check distribution metadata
run: twine check dist/*
- name: Upload to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*