From 9681bce5fa222aba0860e36c2f4bb4bc367b78f0 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 29 Oct 2024 13:26:38 +0100 Subject: [PATCH] Update node-cache/action.yml to use mvnw (#34438) Signed-off-by: stianst --- .github/actions/node-cache/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/node-cache/action.yml b/.github/actions/node-cache/action.yml index 9bcfb69d49..1ee20b4fcf 100644 --- a/.github/actions/node-cache/action.yml +++ b/.github/actions/node-cache/action.yml @@ -8,8 +8,8 @@ runs: id: tooling-versions shell: bash run: | - echo "node=$(mvn help:evaluate -Dexpression=node.version -q -DforceStdout | cut -c 2-)" >> $GITHUB_OUTPUT - echo "pnpm=$(mvn help:evaluate -Dexpression=pnpm.version -q -DforceStdout)" >> $GITHUB_OUTPUT + echo "node=$(./mvnw help:evaluate -Dexpression=node.version -q -DforceStdout | cut -c 2-)" >> $GITHUB_OUTPUT + echo "pnpm=$(./mvnw help:evaluate -Dexpression=pnpm.version -q -DforceStdout)" >> $GITHUB_OUTPUT # Downloading Node.js often fails due to network issues, therefore we cache the artifacts downloaded by the frontend plugin. - uses: actions/cache@v4