Skip to content

Merge pull request #176 from BrillouinMicroscopy/chore/noid/python-3.12 #37

Merge pull request #176 from BrillouinMicroscopy/chore/noid/python-3.12

Merge pull request #176 from BrillouinMicroscopy/chore/noid/python-3.12 #37

Workflow file for this run

name: Release to PyPI
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
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/*