From cf21239949c76bab2e7d9050bdf82ff6a8e3a67a Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 15 Sep 2023 11:32:21 -0400 Subject: [PATCH] Format action.yml --- action.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/action.yml b/action.yml index 9b136f8..f85ef94 100644 --- a/action.yml +++ b/action.yml @@ -1,15 +1,21 @@ -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: 'docker' - image: 'Dockerfile' - args: - - ${{ inputs.who-to-greet }} + using: docker + image: Dockerfile + env: + INPUT_WHO_TO_GREET: ${{ inputs.who-to-greet }}