Merge pull request 'Fix cairn caching' (#10) from additional-fixes into main

Reviewed-on: https://git.ts.mattnite.net/mattnite/cairn/pulls/10
This commit is contained in:
Matthew Knight 2026-03-06 09:05:52 +00:00
commit ba3393f792
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ runs:
return 1
}
if [ -f "${TOOL_DIR}/cairn" ] && [ -f "${TOOL_DIR}/.complete" ]; then
if [ "${CAIRN_VERSION}" != "latest" ] && [ -f "${TOOL_DIR}/cairn" ] && [ -f "${TOOL_DIR}/.complete" ]; then
echo "Cairn CLI ${CAIRN_VERSION} found in tool cache"
else
echo "Downloading Cairn CLI ${CAIRN_VERSION}..."