action.yml: add outputs of the action (time)

The javascript action does this:
https://github.com/actions/javascript-action/blob/main/action.yml
This commit is contained in:
James
2023-02-24 13:53:10 +00:00
parent ad0caec39c
commit 770dd2e293

View File

@ -6,6 +6,9 @@ inputs:
required: true
description: 'input description here'
default: 'default value if applicable'
outputs:
time: # output will be available to future steps
description: 'The current time after waiting'
runs:
using: 'node16'
main: 'dist/index.js'