Skip to content

hotfix classifier

hotfix classifier #9

Workflow file for this run

name: Publish Python 🐍 distributions πŸ“¦ to TestPyPI
on:
push:
tags:
- 'v*.*.*'
jobs:
build-n-publish-testpypi:
name: Build and publish Python 🐍 distributions πŸ“¦ to TestPyPI
environment: staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python3
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install packaging libraries
run: |
pip install setuptools wheel
- name: Build a binary wheel and a source tarball
run: |
python setup.py sdist bdist_wheel
- name: Publish distribution πŸ“¦ to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true