mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-21 10:58:04 +08:00
work on resolving comments
This commit is contained in:
@@ -4,8 +4,8 @@ import {State} from './constants';
|
||||
import {getCacheDirectoryPath, getPackageManagerInfo} from './cache-utils';
|
||||
|
||||
export async function run() {
|
||||
const cacheLock = core.getInput('cache');
|
||||
try {
|
||||
const cacheLock = core.getInput('cache');
|
||||
await cachePackages(cacheLock);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
Reference in New Issue
Block a user