Format action.yml
This commit is contained in:
+17
-11
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user