Skip to content

Commit a968be2

Browse files
authored
Merge pull request #551 from NHSDigital/APIM-Python-extension-fix
expose the py_ver var to the pipeline
2 parents d8ef74a + f9a020a commit a968be2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure/cleanup-ecs-pr-proxies.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
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'

0 commit comments

Comments
 (0)