Skip to content

update all dependencies, target python 12, drop support for previous … #80

update all dependencies, target python 12, drop support for previous …

update all dependencies, target python 12, drop support for previous … #80

name: TestPyPI
on:
push:
branches-ignore:
- main
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Set Test Version
run: echo ${GITHUB_RUN_ID} >> version.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
run: |
python setup.py sdist bdist_wheel
twine upload dist/*