Skip to content

[RELEASE] - Release version 0.18.0 #1603

[RELEASE] - Release version 0.18.0

[RELEASE] - Release version 0.18.0 #1603

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@v4
with:
fetch-depth: 0 # Needed for setuptools_scm
- name: Set up Python 3.14
uses: actions/setup-python@v5
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 }}