File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,12 @@ jobs:
6161 displayName : cache utils pre-requisites
6262
6363 - bash : |
64- pyversion="3.13"
64+ pyversion=${{ parameters.python_version }}
6565 PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \
6666 | jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version
6767 | select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")')
68+
69+ echo "##vso[task.setvariable variable=PY_VER]$PATCH"
6870 echo "Resolved latest python version: $PATCH"
6971 echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/"
7072 displayName: 'Query and set python tool cache path'
You can’t perform that action at this time.
0 commit comments