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 }}