From 7c2c305cfecc11110df8be93fdfb3941293d8b3c Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 15 Sep 2023 10:55:34 -0400 Subject: [PATCH] Format action.yml --- .gitignore | 2 +- action.yml | 24 +++++++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 47fb503..ff24292 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Dependency directory -node_modules +node_modules/ # Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore # Logs diff --git a/action.yml b/action.yml index 95f4d37..617294a 100644 --- a/action.yml +++ b/action.yml @@ -1,13 +1,19 @@ -name: 'Hello World' -description: 'Greet someone and record the time' +name: Hello, World! +description: Greet someone and record the time +author: GitHub Actions + +# Define your inputs here. inputs: - who-to-greet: # id of input - description: 'Who to greet' + who-to-greet: + description: Who to greet required: true - default: 'World' + default: World + +# Define your outputs here. outputs: - time: # id of output - description: 'The time we greeted you' + time: + description: The time we greeted you + runs: - using: 'node16' - main: 'index.js' + using: node20 + main: dist/index.js