From 4354458484d051fb4f3eb04b911994f799148b60 Mon Sep 17 00:00:00 2001 From: Matthew Knight Date: Fri, 6 Mar 2026 01:00:47 -0800 Subject: [PATCH] Fix cairn caching --- actions/setup-cairn/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/setup-cairn/action.yml b/actions/setup-cairn/action.yml index 1fbc55f..420a6b8 100644 --- a/actions/setup-cairn/action.yml +++ b/actions/setup-cairn/action.yml @@ -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}..."