@actions/tool-cache: convert to an ESM module

This commit is contained in:
Daniel Kennedy
2026-01-29 10:54:08 -05:00
parent 7a0147b5c6
commit 1f913ea3b2
10 changed files with 164 additions and 110 deletions
@@ -12,7 +12,7 @@ process.env['RUNNER_TEMP'] = tempPath
process.env['RUNNER_TOOL_CACHE'] = cachePath
// eslint-disable-next-line import/first
import * as tc from '../src/tool-cache'
import * as tc from '../src/tool-cache.js'
const IS_WINDOWS = process.platform === 'win32'
const IS_MAC = process.platform === 'darwin'