Skip to content

0.3.6 Update

0.3.6 Update #42

Workflow file for this run

name: Publish to PyPI
on:
push:
branches:
- main # Replace with your main branch name
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify your Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build twine numpy sphinx sphinx_rtd_theme myst-parser
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python3 -m build
twine check dist/*
twine upload --skip-existing dist/*