mirror of
https://github.com/actions/setup-go.git
synced 2025-07-16 20:15:14 -06:00
Add caching of the compiler's temporary files
This commit is contained in:
parent
c8ed3f974d
commit
661954d154
6 changed files with 814 additions and 796 deletions
|
@ -34,7 +34,7 @@ export const restoreCache = async (
|
|||
|
||||
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||
|
||||
const cacheKey = await cache.restoreCache([cachePath], primaryKey);
|
||||
const cacheKey = await cache.restoreCache(cachePath, primaryKey);
|
||||
core.setOutput('cache-hit', Boolean(cacheKey));
|
||||
|
||||
if (!cacheKey) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue