1.0.0 - Figures, plugin interface, --binaries option, XML schemas #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2022 The Jackson Laboratory | |
# Copyright (C) 2023 University of Dundee & Open Microscopy Environment. | |
# All rights reserved. | |
# | |
# Use is subject to license terms supplied in LICENSE. | |
name: Release to PyPI | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Tools | |
run: | | |
python -mpip install wheel | |
python setup.py sdist bdist_wheel | |
- name: Publish distribution to PyPI | |
uses: pypa/[email protected] | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |