Skip to content

Commit 8e2b24e

Browse files
committed
fix(cd): run uv build on host runner instead of inside PSR Docker container
The python-semantic-release action runs in a Docker container that doesn't have access to host-installed tools. Moved the build step out of PSR's build_command and into a separate workflow step where uv is available.
1 parent 22e3b45 commit 8e2b24e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
git_committer_name: "github-actions"
3838
git_committer_email: "actions@users.noreply.github.com"
39+
- name: Build package
40+
if: steps.release.outputs.released == 'true'
41+
run: uv build
3942
- uses: python-semantic-release/publish-action@v10.5.3
4043
if: steps.release.outputs.released == 'true'
4144
with:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ indent-style = "space"
8080
commit_parser = "conventional"
8181
allow_zero_version = true
8282
tag_format = "v{version}"
83-
build_command = "uv build"
8483
version_variables = [
8584
"src/omnifocus_mcp/__init__.py:__version__",
8685
]

0 commit comments

Comments
 (0)