Remove dependency on uuid package (#1824)

This commit is contained in:
Josh Gross authored and GitHub committed 2024-10-02 12:28:06 -04:00
1 parent b82ecb7c3c
commit 8d63d04876
3 files changed
+3 -34

No files matched your search

+1 -2
View File
@@ -6,7 +6,6 @@ import * as fs from 'fs'
import * as path from 'path'
import * as semver from 'semver'
import * as util from 'util'
import {v4 as uuidV4} from 'uuid'
import {
CacheFilename,
CompressionMethod,
@@ -34,7 +33,7 @@ export async function createTempDirectory(): Promise<string> {
tempDirectory = path.join(baseLocation, 'actions', 'temp')
}
const dest = path.join(tempDirectory, uuidV4())
const dest = path.join(tempDirectory, crypto.randomUUID())
await io.mkdirP(dest)
return dest
}