Skip to content

Commit 37d464f

Browse files
authored
minor fix for uv env (#60)
1 parent 1db28bd commit 37d464f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actions/install-whl/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ runs:
2525
source "$VENV/bin/activate"
2626
2727
INSTALL=(pip install)
28+
FREEZE=(pip freeze)
2829
2930
if command -v uv; then
3031
INSTALL=(uv "${INSTALL[@]}")
32+
FREEZE=(uv "${FREEZE[@]}")
3133
fi
3234
3335
whl=$(find . -type f -iname "$NAME*.whl")
@@ -39,6 +41,6 @@ runs:
3941
"${INSTALL[@]}" "$whl"
4042
echo "::endgroup::"
4143
42-
version=$(pip freeze | grep "$NAME")
44+
version=$("${FREEZE[@]}" | grep "$NAME")
4345
echo "installed $version"
4446
shell: bash

0 commit comments

Comments
 (0)