Skip to content

0.4.0

0.4.0 #5

Workflow file for this run

name: Publish to PyPi
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: "__token__" # https://github.com/pypa/twine/blob/3.x/tests/test_integration.py#L53-L64
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_CENTRALDOGMA }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*