1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-30 23:59:16 +01:00

Removed commented lines

This commit is contained in:
Sankalp Kotewar 2022-12-06 10:07:30 +00:00 committed by GitHub
parent e02e5113ed
commit a76826ef46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,14 +48,12 @@ async function run(outputter: IOutputSetter): Promise<void> {
} }
// Store the matched cache key in states // Store the matched cache key in states
//utils.setCacheState(cacheKey);
outputter.setState(State.CacheMatchedKey, cacheKey); outputter.setState(State.CacheMatchedKey, cacheKey);
const isExactKeyMatch = utils.isExactKeyMatch( const isExactKeyMatch = utils.isExactKeyMatch(
core.getInput(Inputs.Key, { required: true }), core.getInput(Inputs.Key, { required: true }),
cacheKey cacheKey
); );
//utils.setCacheHitOutput(isExactKeyMatch);
outputter.setOutput(Outputs.CacheHit, isExactKeyMatch.toString()); outputter.setOutput(Outputs.CacheHit, isExactKeyMatch.toString());
core.info(`Cache restored from key: ${cacheKey}`); core.info(`Cache restored from key: ${cacheKey}`);