Change cache-save.ts file

pull/228/head
Ivan Zosimov (Akvelon INC) 3 years ago
parent 8d80cd6b60
commit 2d0c507407

@ -21,12 +21,12 @@ export async function run() {
} }
const cachePackages = async () => { const cachePackages = async () => {
const cache = core.getInput('cache'); const cacheInput = core.getInput('cache');
if (!cache) { if (!cacheInput) {
return; return;
} }
const packageManager = cache.toUpperCase() === 'TRUE' ? 'default' : cache; const packageManager = cacheInput.toUpperCase() === 'TRUE' ? 'default' : cacheInput;
const state = core.getState(State.CacheMatchedKey); const state = core.getState(State.CacheMatchedKey);
const primaryKey = core.getState(State.CachePrimaryKey); const primaryKey = core.getState(State.CachePrimaryKey);

Loading…
Cancel
Save