Update checked-in dependencies
This commit is contained in:
parent
7f7df4b3fa
commit
fe6283ba12
326 changed files with 1151 additions and 1864 deletions
4
node_modules/@actions/cache/lib/internal/cacheUtils.js
generated
vendored
4
node_modules/@actions/cache/lib/internal/cacheUtils.js
generated
vendored
|
|
@ -44,11 +44,11 @@ const core = __importStar(require("@actions/core"));
|
|||
const exec = __importStar(require("@actions/exec"));
|
||||
const glob = __importStar(require("@actions/glob"));
|
||||
const io = __importStar(require("@actions/io"));
|
||||
const crypto = __importStar(require("crypto"));
|
||||
const fs = __importStar(require("fs"));
|
||||
const path = __importStar(require("path"));
|
||||
const semver = __importStar(require("semver"));
|
||||
const util = __importStar(require("util"));
|
||||
const uuid_1 = require("uuid");
|
||||
const constants_1 = require("./constants");
|
||||
// From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23
|
||||
function createTempDirectory() {
|
||||
|
|
@ -71,7 +71,7 @@ function createTempDirectory() {
|
|||
}
|
||||
tempDirectory = path.join(baseLocation, 'actions', 'temp');
|
||||
}
|
||||
const dest = path.join(tempDirectory, (0, uuid_1.v4)());
|
||||
const dest = path.join(tempDirectory, crypto.randomUUID());
|
||||
yield io.mkdirP(dest);
|
||||
return dest;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue