Skip to content

[BUG](ci) Install uv before publish-legacy/publish-mcd steps - #742

Merged
John McCall (lowlydba) merged 2 commits into
mainfrom
lowlydba-fix-main-publish-missing-uv
Sep 11, 2026
Merged

John McCall (lowlydba) merged 2 commits into
mainfrom
lowlydba-fix-main-publish-missing-uv

Conversation

@lowlydba

@lowlydba John McCall (lowlydba) commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Both publish jobs call uv-publish-to-codeartifact, which requires uv already on PATH (its own comment says so). Neither job installs it, since they run on a fresh runner separate from build, so every push to main since the dual-publish merge (#725) fails with uv: command not found, exit 127:

https://github.com/OvertureMaps/schema/actions/runs/34608725611/job/103293782910

The original draft for the uv-publish action did self-install uv, but later it was changed to allow consumers greater flexibility / avoid double-install attempts. This more closely follows the ecosystem of GHA where many are single-responsibility and chained together, instead of performing multiple functions.

Added the same astral-sh/setup-uv step build already uses to both publish-legacy and publish-mcd.

Fixes #743

Testing

Not covered by CI: the composite action's uv requirement only surfaces on a real push to main, this workflow doesn't run on PRs. Verifying via a push to main after merge.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Signed-off-by: John McCall <john@overturemaps.org>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Both publish jobs now install uv before publishing.

Pull request overview

Adds uv installation to both CodeArtifact publish jobs so they work on fresh runners.

Changes:

  • Adds pinned setup-uv to publish-legacy.
  • Adds pinned setup-uv to publish-mcd.
File summaries
File Description
.github/workflows/main-publish.yaml Ensures uv is available before both publish actions run.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/742/schema/index.html
🕐 Updated Sep 11, 2026 14:34 UTC
📝 Commit 809150e
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

@lowlydba
John McCall (lowlydba) merged commit 75d568c into main Sep 11, 2026
48 of 49 checks passed
@lowlydba
John McCall (lowlydba) deleted the lowlydba-fix-main-publish-missing-uv branch September 11, 2026 15:06

This branch was successfully deployed

1 active deployment
staging 809150eb Deployed Sep 11, 2026 by lowlydba via Deploy #536
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] main-publish CodeArtifact publish jobs fail with uv: command not found

4 participants