From 213d335d8b5ae205aba7572c27ef18ecc8376afc Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 24 Mar 2025 14:04:27 +0100 Subject: [PATCH] Force version v2 of github action. Closes: #191 --- src/setup.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/setup.ts b/src/setup.ts index d6ad21b..be48f81 100644 --- a/src/setup.ts +++ b/src/setup.ts @@ -66,6 +66,9 @@ async function setup() { // Expose the sccache path as env. core.exportVariable('SCCACHE_PATH', `${sccacheHome}/sccache`); + // Force the github action v2 + core.exportVariable('ACTIONS_CACHE_SERVICE_V2', `on`); + // Expose the gha cache related variable to make it easier for users to // integrate with gha support. core.exportVariable(