We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4437b74 commit 95e936aCopy full SHA for 95e936a
1 file changed
azure/cleanup-ecs-pr-proxies.yml
@@ -61,10 +61,12 @@ jobs:
61
displayName: cache utils pre-requisites
62
63
- bash: |
64
- pyversion="3.13"
+ pyversion=${{ parameters.python_version }}
65
PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \
66
| jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version
67
| select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")')
68
+
69
+ echo "##vso[task.setvariable variable=PY_VER]$PATCH"
70
echo "Resolved latest python version: $PATCH"
71
echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/"
72
displayName: 'Query and set python tool cache path'
0 commit comments