Merge pull request #22 from ChrisLovering/resolve-ci-issue #10
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
name: Test Release to test.pypi.org | |
on: | |
push: | |
tags: | |
- '**dev**' | |
- '**rc**' | |
jobs: | |
build: | |
name: Build dist & publish to test.pypi.org | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo and the submodules. | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install build dependencies & build | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel | |
python setup.py sdist bdist_wheel | |
- name: Publish dev/rc build to test.pypi.org | |
uses: pypa/gh-action-pypi-publish@v1.3.1 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TEST }} | |
repository_url: https://test.pypi.org/legacy/ |