From 24e3b34794f13553a167302d770052fe529ba9ba Mon Sep 17 00:00:00 2001 From: J Eyre <123481489+jamrce@users.noreply.github.com> Date: Wed, 16 Sep 2026 13:53:44 +0100 Subject: [PATCH] fix: check out the repo in the publish job so uv finds the testpypi index --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8115e7e..60e332b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,6 +73,11 @@ jobs: permissions: id-token: write # PyPI Trusted Publishing — no API-token secret in this repository steps: + # Before the artifact: checkout cleans the workspace. `uv publish --index` reads the index + # from pyproject.toml, so this job needs the tree as well as the distributions. + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: dist