Format action.yml

This commit is contained in:
Nick Alteen
2023-09-15 11:32:21 -04:00
parent 407d80e42d
commit cf21239949
+17 -11
View File
@@ -1,15 +1,21 @@
name: 'Hello World' name: Hello, World!
description: 'Greet someone and record the time' description: Greet someone and record the time
author: GitHub Actions
# Define your inputs here.
inputs: inputs:
who-to-greet: # id of input who-to-greet:
description: 'Who to greet' description: Who to greet
required: true required: true
default: 'World' default: World
# Define your outputs here.
outputs: outputs:
time: # id of output time:
description: 'The time we greeted you' description: The time we greeted you
runs: runs:
using: 'docker' using: docker
image: 'Dockerfile' image: Dockerfile
args: env:
- ${{ inputs.who-to-greet }} INPUT_WHO_TO_GREET: ${{ inputs.who-to-greet }}