This commit is contained in:
Ariki 2023-08-31 13:07:22 +03:00
parent 860bb139dc
commit 99e06de4da
2 changed files with 8 additions and 2 deletions

View file

@ -33,8 +33,10 @@ const cachePackages = async (packageManager: string) => {
core.debug(`Caching for '${packageManager}' is not supported`);
return;
}
if (core.getInput('cache-restore-only') == true ){
core.info(`Cache was not saved since 'cache-restore-only' was set }`);
if (core.getInput('cache-restore-only') == 'true') {
core.info(
`Cache was not saved since 'cache-restore-only' was set to true}`
);
return;
}