Update Image links on README. These are broken on PyPI. #8
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: Publish to PyPI | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
pypi-publish: | |
name: Upload release to PyPI | |
runs-on: ubuntu-latest | |
environment: pypi-package | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12.2 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12.2" | |
- name: Setup dependencies | |
run: | | |
cd testing | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry install | |
- name: Set PYTHONPATH | |
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/testing" >> $GITHUB_ENV | |
- name: Set PyPI credentials | |
run: | | |
cd testing | |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} | |
- name: Publish to PyPI | |
run: | | |
cd testing | |
poetry publish --build |