diff --git a/azure/cleanup-ecs-pr-proxies.yml b/azure/cleanup-ecs-pr-proxies.yml index 373ed4a68..c6479bccb 100644 --- a/azure/cleanup-ecs-pr-proxies.yml +++ b/azure/cleanup-ecs-pr-proxies.yml @@ -65,6 +65,8 @@ jobs: PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \ | jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version | select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")') + + echo "##vso[task.setvariable variable=PY_VER]$PATCH" echo "Resolved latest python version: $PATCH" echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/" displayName: 'Query and set python tool cache path'