ci: console

This commit is contained in:
Simone Corsi
2022-05-09 17:09:32 +02:00
parent ce053290e3
commit f88cf3357e

View File

@@ -17,13 +17,13 @@ export async function main() {
// get template if found in the repo
const customTemplatePath = core.getInput('template-path');
core.info(`check if customTemplatePath: ${customTemplatePath} exists`);
console.log(`check if customTemplatePath: ${customTemplatePath} exists`);
try {
const dir = await readdir('./');
core.info(dir.join('\n'));
console.log(dir.join('\n'));
template = await readFile('TEMPLATE.ejs', 'utf8');
} catch {
core.warning("Couldn't find template file, using default");
console.log("Couldn't find template file, using default");
}
const sortedByLanguages = await ghStarFetch({