mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Address code review: add path validation, clarify version range and config key format
Co-authored-by: larohra <41490930+larohra@users.noreply.github.com>
This commit is contained in:
@@ -56,8 +56,12 @@ runs:
|
||||
echo "Python 3.12 not found on system, installing via uv..."
|
||||
uv python install 3.12
|
||||
FUNC_WORKER_PYTHON="$(uv python find 3.12)"
|
||||
echo "FUNC_WORKER_PYTHON=${FUNC_WORKER_PYTHON}" >> "$GITHUB_ENV"
|
||||
echo "Installed Python 3.12 at ${FUNC_WORKER_PYTHON}"
|
||||
if [ -n "${FUNC_WORKER_PYTHON}" ] && [ -f "${FUNC_WORKER_PYTHON}" ]; then
|
||||
echo "FUNC_WORKER_PYTHON=${FUNC_WORKER_PYTHON}" >> "$GITHUB_ENV"
|
||||
echo "Installed Python 3.12 at ${FUNC_WORKER_PYTHON}"
|
||||
else
|
||||
echo "::warning::Could not resolve Python 3.12 path after install"
|
||||
fi
|
||||
else
|
||||
echo "System Python 3.12 found: $(which python3.12)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user