This commit is contained in:
platane
2020-07-19 18:14:53 +02:00
parent 29646e97a1
commit 75496b6100

View File

@@ -7,9 +7,15 @@ import { generateContributionSnake } from "./generateContributionSnake";
console.log(core.getInput("user_name"));
console.log(core.getInput("gif_out_path"));
console.log("--");
console.log("--");
console.log(process.cwd());
console.log("--");
console.log(fs.readdirSync(process.cwd()));
console.log("--");
console.log("--");
console.log(process.env.GITHUB_WORKSPACE);
console.log("--");
console.log(fs.readdirSync(process.cwd()));
const buffer = await generateContributionSnake(core.getInput("user_name"));
fs.writeFileSync(core.getInput("gif_out_path"), buffer);