Skip to content

Commit 3e34cc1

Browse files
committed
Fix boolean input handling in sync-uv action
Updates environment variable assignment to explicitly check for 'true' string values in inputs.no_python_downloads and inputs.frozen, ensuring correct behavior when setting UV_NO_PYTHON_DOWNLOADS and UV_FROZEN.
1 parent 40ba971 commit 3e34cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/sync-uv/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ runs:
6262
echo "Executing: $cmd"
6363
eval "$cmd"
6464
env:
65-
UV_NO_PYTHON_DOWNLOADS: ${{ inputs.no_python_downloads && '1' || '' }}
66-
UV_FROZEN: ${{ inputs.frozen && '1' || '' }}
65+
UV_NO_PYTHON_DOWNLOADS: ${{ inputs.no_python_downloads == 'true' && '1' || '' }}
66+
UV_FROZEN: ${{ inputs.frozen == 'true' && '1' || '' }}

0 commit comments

Comments
 (0)