Skip to content

Release to PyPI

Release to PyPI #15

Workflow file for this run

# 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: [released]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Install Tools
run: |
python -mpip install wheel
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.3.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}