mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 01:50:52 +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 cache = core.getInput('cache');
|
||||
if (!cache) {
|
||||
const cacheInput = core.getInput('cache');
|
||||
if (!cacheInput) {
|
||||
return;
|
||||
}
|
||||
|
||||
const packageManager = cache.toUpperCase() === 'TRUE' ? 'default' : cache;
|
||||
const packageManager = cacheInput.toUpperCase() === 'TRUE' ? 'default' : cacheInput;
|
||||
|
||||
const state = core.getState(State.CacheMatchedKey);
|
||||
const primaryKey = core.getState(State.CachePrimaryKey);
|
||||
|
|
Loading…
Add table
Reference in a new issue