mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-12-15 06:27:06 +00:00
Format action.yml
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
# Dependency directory
|
# Dependency directory
|
||||||
node_modules
|
node_modules/
|
||||||
|
|
||||||
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
|
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
|
||||||
# Logs
|
# Logs
|
||||||
|
|||||||
24
action.yml
24
action.yml
@@ -1,13 +1,19 @@
|
|||||||
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: 'node16'
|
using: node20
|
||||||
main: 'index.js'
|
main: dist/index.js
|
||||||
|
|||||||
Reference in New Issue
Block a user