Skip to content

Publish to PyPI

Publish to PyPI #2

Workflow file for this run

name: Publish to PyPI
on:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
uses: ./.github/workflows/test.yml

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish.yml" -> "./.github/workflows/test.yml" (source branch with sha:43b74c2b317a7e795d24affd21400b7431cd0006) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- name: Build Package
run: hatch build -c
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1