Skip to content

Update readme - release links and fix badge #51

Update readme - release links and fix badge

Update readme - release links and fix badge #51

Workflow file for this run

name: Workflow for uploading to PyPI
on:
# Only published to Test-PyPI in response to push to main.
push:
branches: [main]
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: "3.9"
- name: Install dependencies
run: pip install setuptools wheel
# run: pip install build
- name: Run setup.py
run: python setup.py sdist bdist_wheel
# - name: Build the project
# run: python -m build
- name: Upload to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Upload to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_PASSWORD }}