Skip to content

more publish infra fixes; on testpypi now #2

more publish infra fixes; on testpypi now

more publish infra fixes; on testpypi now #2

name: Python Publish
on:
push:
branches:
- main
paths:
- 'VERSION.txt'
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: python-release
url: https://pypi.org/project/sharetrace/
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup credentials
run: |
mkdir -p secrets
touch secrets/pypi.token
chmod 600 secrets/pypi.token
echo "${{ secrets.PYPI_TOKEN }}" > secrets/pypi.token
- name: Publish to PyPI
run: ./tools/publish.sh pypi