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