mirror of
https://github.com/actions/toolkit
synced 2025-05-09 16:43:02 +00:00
Revert uuid
This commit is contained in:
parent
15a848a9ab
commit
d77f97af87
3 changed files with 7 additions and 7 deletions
4
packages/cache/src/internal/cacheUtils.ts
vendored
4
packages/cache/src/internal/cacheUtils.ts
vendored
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue