mirror of
https://gitea.com/actions/cache.git
synced 2024-11-22 12:22:31 +08:00
Removed commented lines
This commit is contained in:
parent
e02e5113ed
commit
a76826ef46
|
@ -48,14 +48,12 @@ async function run(outputter: IOutputSetter): Promise<void> {
|
|||
}
|
||||
|
||||
// Store the matched cache key in states
|
||||
//utils.setCacheState(cacheKey);
|
||||
outputter.setState(State.CacheMatchedKey, cacheKey);
|
||||
|
||||
const isExactKeyMatch = utils.isExactKeyMatch(
|
||||
core.getInput(Inputs.Key, { required: true }),
|
||||
cacheKey
|
||||
);
|
||||
//utils.setCacheHitOutput(isExactKeyMatch);
|
||||
outputter.setOutput(Outputs.CacheHit, isExactKeyMatch.toString());
|
||||
core.info(`Cache restored from key: ${cacheKey}`);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user