mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-25 07:16:42 +00:00
4
index.js
4
index.js
@@ -3,14 +3,10 @@ const github = require('@actions/github');
|
||||
|
||||
|
||||
try {
|
||||
const nameToGreet = core.getInput('who-to-greet');
|
||||
const label = core.getInput('label');
|
||||
console.log(`Label: ${label}`)
|
||||
console.log(`Hello ${nameToGreet}!`);
|
||||
const time = (new Date()).toTimeString();
|
||||
|
||||
core.setOutput("label", label);
|
||||
core.setOutput("time", time);
|
||||
|
||||
const payload = JSON.stringify(github.context.payload, undefined, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user