Skip to content

maintenance release #51

maintenance release

maintenance release #51

Workflow file for this run

name: Release to PyPI
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.9']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install -e .
- name: Build and publish
env:
TWINE_USERNAME: ci_bm
TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
run: |
python setup.py sdist bdist_wheel
twine upload --skip-existing dist/*