From 071b99a487f61bdacd4b34806df63c4a9fd679a8 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 28 Nov 2026 08:18:08 +0900 Subject: [PATCH] Remove the confusing comment above shouldUseToolCache The code already says the tool cache is not used for mswin. Co-Authored-By: Claude Opus 5.5 --- common.js | 1 - dist/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/common.js b/common.js index ae978f27c..155a66f60 100644 --- a/common.js +++ b/common.js @@ -293,7 +293,6 @@ function findWindowsVersion() { } export function shouldUseToolCache(engine, version) { - // The tool cache of runners holds RubyInstaller builds under the same Ruby/ names as mswin return (engine === 'ruby' && !isHeadVersion(version) && !inputs.mswin) || isSelfHostedRunner() } diff --git a/dist/index.js b/dist/index.js index 861504a2d..e16176efd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -635,7 +635,6 @@ function findWindowsVersion() { } function shouldUseToolCache(engine, version) { - // The tool cache of runners holds RubyInstaller builds under the same Ruby/ names as mswin return (engine === 'ruby' && !isHeadVersion(version) && !inputs.mswin) || isSelfHostedRunner() }