mirror of
https://github.com/Swatinem/rust-cache
synced 2025-07-03 05:25:43 +00:00
Reset dist files
This commit is contained in:
parent
a5df05bb52
commit
ee6bad3219
2 changed files with 546 additions and 557 deletions
8
dist/restore/index.js
vendored
8
dist/restore/index.js
vendored
|
@ -59804,9 +59804,6 @@ var external_path_default = /*#__PURE__*/__nccwpck_require__.n(external_path_);
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e) => {
|
||||||
core.info(`[warning] ${e.message}`);
|
core.info(`[warning] ${e.message}`);
|
||||||
if (e.stack) {
|
|
||||||
core.info(e.stack);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
const cwd = core.getInput("working-directory");
|
const cwd = core.getInput("working-directory");
|
||||||
// TODO: this could be read from .cargo config file directly
|
// TODO: this could be read from .cargo config file directly
|
||||||
|
@ -59993,11 +59990,6 @@ async function rm(parent, dirent) {
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
var cacheOnFailure = core.getInput("cache-on-failure").toLowerCase();
|
|
||||||
if (cacheOnFailure !== "true") {
|
|
||||||
cacheOnFailure = "false";
|
|
||||||
}
|
|
||||||
core.exportVariable("CACHE_ON_FAILURE", cacheOnFailure);
|
|
||||||
core.exportVariable("CARGO_INCREMENTAL", 0);
|
core.exportVariable("CARGO_INCREMENTAL", 0);
|
||||||
const { paths, key, restoreKeys } = await getCacheConfig();
|
const { paths, key, restoreKeys } = await getCacheConfig();
|
||||||
const bins = await getCargoBins();
|
const bins = await getCargoBins();
|
||||||
|
|
3
dist/save/index.js
vendored
3
dist/save/index.js
vendored
|
@ -59804,9 +59804,6 @@ var external_os_default = /*#__PURE__*/__nccwpck_require__.n(external_os_);
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e) => {
|
||||||
core.info(`[warning] ${e.message}`);
|
core.info(`[warning] ${e.message}`);
|
||||||
if (e.stack) {
|
|
||||||
core.info(e.stack);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
const cwd = core.getInput("working-directory");
|
const cwd = core.getInput("working-directory");
|
||||||
// TODO: this could be read from .cargo config file directly
|
// TODO: this could be read from .cargo config file directly
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue