mirror of
https://github.com/actions/setup-java.git
synced 2025-04-22 02:46:46 +00:00
Merge branch 'main' into sbt-cache
This commit is contained in:
commit
c50e6b0385
12 changed files with 65 additions and 56 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -18667,9 +18667,11 @@ function restore(id) {
|
|||
]);
|
||||
if (matchedKey) {
|
||||
core.saveState(CACHE_MATCHED_KEY, matchedKey);
|
||||
core.setOutput('cache-hit', matchedKey === primaryKey);
|
||||
core.info(`Cache restored from key: ${matchedKey}`);
|
||||
}
|
||||
else {
|
||||
core.setOutput('cache-hit', false);
|
||||
core.info(`${packageManager.id} cache is not found`);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue