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