Skip to content

PLAYA-PDF 0.2: Break all the APIs #9

PLAYA-PDF 0.2: Break all the APIs

PLAYA-PDF 0.2: Break all the APIs #9

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types:
- published
jobs:
build_sdist:
name: Build and upload source distribution
runs-on: ubuntu-latest
permissions:
id-token: write
# Comment this line for testing
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Hatch
uses: pypa/hatch@install
- name: Build
run: hatch build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# Uncomment these lines for testing
# with:
# repository-url: https://test.pypi.org/legacy/