rename index.js to ts

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar
2023-09-17 13:46:26 +03:00
parent 283f0c95ff
commit 2ca30dd8d2

View File

@@ -1,16 +0,0 @@
const core = require('@actions/core');
const github = require('@actions/github');
try {
const label = core.getInput('label');
console.log(`Label: ${label}`)
core.setOutput("label", label);
const payload = JSON.stringify(github.context.payload, undefined, 2)
console.log(`The event payload: ${payload}`);
} catch (error) {
core.setFailed(error.message);
}