Introduce our own toolcache implementation for use by the runnner
This commit is contained in:
parent
896b4ff181
commit
8c91ba83e2
46 changed files with 811 additions and 159 deletions
7
lib/testing-utils.js
generated
7
lib/testing-utils.js
generated
|
|
@ -72,4 +72,11 @@ function setupTests(test) {
|
|||
});
|
||||
}
|
||||
exports.setupTests = setupTests;
|
||||
// Sets environment variables that make using some libraries designed for
|
||||
// use only on actions safe to use outside of actions.
|
||||
function setupActionsVars(tempDir, toolsDir) {
|
||||
process.env["RUNNER_TEMP"] = tempDir;
|
||||
process.env["RUNNER_TOOL_CACHE"] = toolsDir;
|
||||
}
|
||||
exports.setupActionsVars = setupActionsVars;
|
||||
//# sourceMappingURL=testing-utils.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue