mirror of
https://github.com/actions/cache.git
synced 2025-03-15 12:27:00 +00:00
fix formatting
This commit is contained in:
parent
1eade9d5b9
commit
6f05cbc278
1 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,11 @@ async function run(): Promise<void> {
|
||||||
const isExactKeyMatch = utils.isExactKeyMatch(primaryKey, cacheKey);
|
const isExactKeyMatch = utils.isExactKeyMatch(primaryKey, cacheKey);
|
||||||
utils.setCacheHitOutput(isExactKeyMatch);
|
utils.setCacheHitOutput(isExactKeyMatch);
|
||||||
|
|
||||||
core.info(`Cache restored from ${isExactKeyMatch ? '' : 'restore '}key: ${cacheKey}`);
|
core.info(
|
||||||
|
`Cache restored from ${
|
||||||
|
isExactKeyMatch ? "" : "restore "
|
||||||
|
}key: ${cacheKey}`
|
||||||
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.name === cache.ValidationError.name) {
|
if (error.name === cache.ValidationError.name) {
|
||||||
throw error;
|
throw error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue