Skip to content

Commit

Permalink
first commit new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessot committed Aug 1, 2023
1 parent cb6634a commit 35129eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const github = require('@actions/github');
try{

const nameToGreet = core.getInput('who-to-greet');
console.log('Hello $(nameToGreet)!');
console.log(`Hello ${nameToGreet}!`);
const time = (new Date()).toTimeString();
core.setOutput('time', time);

const payload = JSON.stringify(github.context.payload)
console.log('The event payload: $(payload)');
console.log(`The event payload: ${payload}`);

}catch(error){
core.setFailed(error.messsage);
Expand Down

0 comments on commit 35129eb

Please sign in to comment.