move all files to the RUNNER_TEMP directory
This commit is contained in:
parent
a0d60d5d9e
commit
5ea736059a
18 changed files with 42 additions and 61 deletions
2
lib/external-queries.test.js
generated
2
lib/external-queries.test.js
generated
|
|
@ -22,7 +22,7 @@ ava_1.default("checkoutExternalQueries", async (t) => {
|
|||
new configUtils.ExternalQuery("github/codeql-go", "df4c6869212341b601005567381944ed90906b6b"),
|
||||
];
|
||||
await util.withTmpDir(async (tmpDir) => {
|
||||
process.env["RUNNER_WORKSPACE"] = tmpDir;
|
||||
process.env["RUNNER_TEMP"] = tmpDir;
|
||||
await externalQueries.checkoutExternalQueries(config);
|
||||
// COPYRIGHT file existed in df4c6869212341b601005567381944ed90906b6b but not in master
|
||||
t.true(fs.existsSync(path.join(tmpDir, "github", "codeql-go", "COPYRIGHT")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue