Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmorand committed Nov 20, 2022
1 parent 4a2cb31 commit c5cec49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inputs: # liste des paramètres d'entrées
firstname: # (mandatory) name of parameter
description: 'firstname of the person' # (mandatory)
required: true # (mandatory) tells if parameter is mandatory or not
firstname2: # (mandatory) name of parameter
description: 'firstname of the person' # (mandatory)
required: true # (mandatory) tells if parameter is mandatory or not
default: "Jane"
branding:
icon: 'message-circle'
color: 'orange'
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const core = require('@actions/core');
try
{
const firstname = core.getInput('firstname');
const firstname2 = core.getInput('firstname2');
console.log(`Hello ${firstname}`);
}
catch (error)
Expand Down

0 comments on commit c5cec49

Please sign in to comment.