- add more logs for custom placeholders

- write up experimental docs for custom placeholders
This commit is contained in:
Mike Penz
2022-08-05 12:45:37 +00:00
committed by GitHub
parent e725caaceb
commit bed15c1b24
4 changed files with 62 additions and 1 deletions
+8
View File
@@ -342,6 +342,14 @@ function replacePlaceholders(
createOrSet(placeholderPrMap, placeholder.name, extractedValue)
}
transformed = transformed.replaceAll(`\${{${placeholder.name}}}`, extractedValue)
if (core.isDebug()) {
core.debug(` Custom Placeholder successfully matched data - ${extractValues} (${placeholder.name})`)
}
} else if (core.isDebug() && extractedValue === value) {
core.debug(
` Custom Placeholder did result in the full original value returned. Skipping. (${placeholder.name})`
)
}
}
}