From 98cce0d3cbdd41845592948138b51838f0e94fb4 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 29 Jun 2025 22:47:02 +0000 Subject: [PATCH] Fix release workflow after build system change In commit d4e84fd1, the build system was changed from cibuildwheel to uv build: - Before: cibuildwheel created multiple platform-specific wheels with names like 'wheels-ubuntu-latest-3.12' - After: uv build creates a single pure Python wheel uploaded as 'wheels' However, the release job still used the old pattern 'wheels-*' which no longer matches the new artifact name 'wheels', causing 0 artifacts to be downloaded and PyPI upload to fail with 'No files found to publish'. Changes: - Update artifact download pattern from 'wheels-*' to 'wheels' to match new build system - This fixes the v0.56.1 release failure and aligns with the pure Python wheel approach Fixes: https://github.com/codegen-sh/codegen/actions/runs/15960085099 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b982d045f..6dbbcb609 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,7 +82,7 @@ jobs: with: path: dist merge-multiple: true - pattern: wheels-* + pattern: wheels - name: Release PyPI uses: ./.github/actions/release-pypi