From 7a78c830aabce7cbc1feed9d29a66c9a16ce5896 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Mon, 31 Jul 2023 20:22:21 +0000 Subject: [PATCH] upgrading uuid --- packages/tool-cache/src/tool-cache.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tool-cache/src/tool-cache.ts b/packages/tool-cache/src/tool-cache.ts index eadf1f6f..562b7d7f 100644 --- a/packages/tool-cache/src/tool-cache.ts +++ b/packages/tool-cache/src/tool-cache.ts @@ -42,7 +42,7 @@ export async function downloadTool( auth?: string, headers?: OutgoingHttpHeaders ): Promise { - dest = dest || path.join(_getTempDirectory(), v4()) + dest = dest || path.join(_getTempDirectory(), uuidv4()) await io.mkdirP(path.dirname(dest)) core.debug(`Downloading ${url}`) core.debug(`Destination ${dest}`) @@ -652,7 +652,7 @@ export async function findFromManifest( async function _createExtractFolder(dest?: string): Promise { if (!dest) { // create a temp dir - dest = path.join(_getTempDirectory(), v4()) + dest = path.join(_getTempDirectory(), uuidv4()) } await io.mkdirP(dest) return dest