diff --git a/.github/workflows/__bundle-from-toolcache.yml b/.github/workflows/__bundle-from-toolcache.yml index 1512c5f38d..6e00eaa2d6 100644 --- a/.github/workflows/__bundle-from-toolcache.yml +++ b/.github/workflows/__bundle-from-toolcache.yml @@ -56,7 +56,7 @@ jobs: use-all-platform-bundle: 'false' setup-kotlin: 'true' - name: Install @actions/tool-cache - run: npm install @actions/tool-cache + run: npm install @actions/tool-cache@3 - name: Check toolcache contains CodeQL continue-on-error: true uses: actions/github-script@v8 diff --git a/.github/workflows/__bundle-toolcache.yml b/.github/workflows/__bundle-toolcache.yml index 0fac371052..d1ba1b8261 100644 --- a/.github/workflows/__bundle-toolcache.yml +++ b/.github/workflows/__bundle-toolcache.yml @@ -68,7 +68,7 @@ jobs: const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); fs.rmdirSync(codeqlPath, { recursive: true }); - name: Install @actions/tool-cache - run: npm install @actions/tool-cache + run: npm install @actions/tool-cache@3 - name: Check toolcache does not contain CodeQL uses: actions/github-script@v8 with: diff --git a/pr-checks/checks/bundle-from-toolcache.yml b/pr-checks/checks/bundle-from-toolcache.yml index 5642a15f9e..2719ccfb00 100644 --- a/pr-checks/checks/bundle-from-toolcache.yml +++ b/pr-checks/checks/bundle-from-toolcache.yml @@ -4,7 +4,7 @@ versions: - toolcache steps: - name: Install @actions/tool-cache - run: npm install @actions/tool-cache + run: npm install @actions/tool-cache@3 - name: Check toolcache contains CodeQL continue-on-error: true uses: actions/github-script@v8 diff --git a/pr-checks/checks/bundle-toolcache.yml b/pr-checks/checks/bundle-toolcache.yml index d3a15fcb41..eb196419ee 100644 --- a/pr-checks/checks/bundle-toolcache.yml +++ b/pr-checks/checks/bundle-toolcache.yml @@ -16,7 +16,7 @@ steps: const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); fs.rmdirSync(codeqlPath, { recursive: true }); - name: Install @actions/tool-cache - run: npm install @actions/tool-cache + run: npm install @actions/tool-cache@3 - name: Check toolcache does not contain CodeQL uses: actions/github-script@v8 with: