mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-11 06:31:12 +00:00
change getinput to getstate for cache (#816)
This commit is contained in:
parent
d82f92a0eb
commit
bea5baf987
6 changed files with 62 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue