Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-13 14:56:14 +03:00
parent 9d31be233d
commit 34a9746f3d
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -5,11 +5,11 @@ const github = require('@actions/github');
try {
const nameToGreet = core.getInput('who-to-greet');
const label = core.getInput('label');
console.log(`Lable: ${label}`)
console.log(`Label: ${label}`)
console.log(`Hello ${nameToGreet}!`);
const time = (new Date()).toTimeString();
core.setOutput("lable", label);
core.setOutput("label", label);
core.setOutput("time", time);
const payload = JSON.stringify(github.context.payload, undefined, 2)