Skip to content

Release to Test PyPI #22

Release to Test PyPI

Release to Test PyPI #22

# 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 Test 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/[email protected]
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/