Release to Test PyPI #22
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 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/ |