mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Change cache-save.ts file
This commit is contained in:
parent
8d80cd6b60
commit
2d0c507407
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue