1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 16:43:02 +00:00

Revert uuid

This commit is contained in:
Vallie Joseph 2023-07-31 19:51:01 +00:00
parent 15a848a9ab
commit d77f97af87
3 changed files with 7 additions and 7 deletions

View file

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