Updated restore code to print logs

pull/994/head
Sankalp Kotewar 3 years ago committed by GitHub
parent d39f1d8c77
commit 0aec05f2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48992,6 +48992,7 @@ function run() {
if (saveCache === "yes") {
core.saveState(constants_1.State.SaveCache, saveCache);
core.info(`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`);
core.info(core.getState(constants_1.State.SaveCache));
}
if (!cacheKey) {
if (core.getInput(constants_1.Inputs.StrictRestore) == "true") {

@ -42,6 +42,7 @@ async function run(): Promise<void> {
core.info(
`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`
);
core.info(core.getState(State.SaveCache));
}
if (!cacheKey) {

Loading…
Cancel
Save