mirror of
https://github.com/actions/setup-node.git
synced 2025-06-30 06:33:48 +00:00
build
This commit is contained in:
parent
860bb139dc
commit
99e06de4da
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue