mirror of
https://github.com/actions/setup-go.git
synced 2025-06-28 07:53:43 +00:00
Update src/cache-restore.ts
Co-authored-by: Alex Shcherbakov <candiduslynx@users.noreply.github.com>
This commit is contained in:
parent
acb2fd8040
commit
847b9da5d2
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ export const restoreCache = async (
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const cacheKeyPrefix = core.getInput('cache-key-prefix') || '';
|
const cacheKeyPrefix = core.getInput('cache-key-prefix') || 'setup-go'
|
||||||
const primaryKey = `${cacheKeyPrefix}setup-go-${platform}-go-${versionSpec}-${fileHash}`;
|
const primaryKey = `${cacheKeyPrefix}-${platform}-go-${versionSpec}-${fileHash}`;
|
||||||
core.debug(`primary key is ${primaryKey}`);
|
core.debug(`primary key is ${primaryKey}`);
|
||||||
|
|
||||||
core.saveState(State.CachePrimaryKey, primaryKey);
|
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue