Skip to content

Commit 4409ee9

Browse files
committed
fix: explicitly pip install uv in release
1 parent b36801a commit 4409ee9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,13 @@ jobs:
134134

135135
- name: Publish package distributions to PyPI
136136
uses: pypa/gh-action-pypi-publish@v1.13.0
137-
138137
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
139138
# See https://github.com/actions/runner/issues/1173
140139
if: steps.release.outputs.released == 'true'
140+
with:
141+
packages-dir: dist
142+
print-hash: true
143+
verbose: true
141144

142145
- name: Publish package distributions to GitHub Releases
143146
uses: python-semantic-release/publish-action@v10.4.1

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ match = "main"
7474
prerelease = false
7575
version_toml = ["pyproject.toml:project.version"]
7676
build_command = """
77+
pip install uv
7778
uv lock --upgrade-package python-roborock
7879
git add uv.lock
7980
uv build
@@ -86,6 +87,7 @@ match = "temp-main-branch"
8687
prerelease = false
8788
version_toml = ["pyproject.toml:project.version"]
8889
build_command = """
90+
pip install uv
8991
uv lock --upgrade-package python-roborock
9092
git add uv.lock
9193
uv build

0 commit comments

Comments
 (0)