change getinput to getstate for cache (#816)
This commit is contained in:
1 parent
d82f92a0eb
commit
bea5baf987
6 files changed
+62
-32
No files matched your search
+1
-1
@@ -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