feat: add add loabl

This commit is contained in:
thomas
2024-04-17 21:45:41 +02:00
parent bdfb100b58
commit 41fc261705
4 changed files with 67 additions and 38 deletions

View File

@@ -1,13 +1,10 @@
name: 'Hello World'
description: 'Greet someone and record the time'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
outputs:
time: # id of output
description: 'The time we greeted you'
github_token:
description: A GitHub token.
required: false
default: ${{ github.token }}
runs:
using: 'node20'
main: 'index.js'