You've already forked setup-node
mirror of
https://github.com/actions/setup-node.git
synced 2025-09-04 11:54:03 +07:00
change getinput to getstate for cache (#816)
This commit is contained in:
@ -16,7 +16,7 @@ process.on('uncaughtException', e => {
|
||||
|
||||
export async function run() {
|
||||
try {
|
||||
const cacheLock = core.getInput('cache');
|
||||
const cacheLock = core.getState(State.CachePackageManager);
|
||||
await cachePackages(cacheLock);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
Reference in New Issue
Block a user