Skip to content

chore(deps): update non-major dependencies (#204) #1604

chore(deps): update non-major dependencies (#204)

chore(deps): update non-major dependencies (#204) #1604

Workflow file for this run

name: Publish Python distribution to PyPI
on:
push:
tags: [ '*' ]
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0 # Needed for setuptools_scm
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Install project with test dependencies
run: |
pip install -e .[dev]
- name: Run tests
run: |
pytest tests/ -v --tb=short
- name: Build distribution packages
run: |
python -m build
- name: Check distribution packages
run: |
twine check dist/*
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.ADOBE_BOT_PYPI_TOKEN }}