mirror of
https://gitea.com/actions/setup-node.git
synced 2025-08-26 21:49:55 +08: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