18 lines
441 B
YAML
18 lines
441 B
YAML
|
# FIXME: Hook https://man.sr.ht/builds.sr.ht/api.md so that we can use sourcehub in GitHub action
|
||
|
|
||
|
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'
|
||
|
runs:
|
||
|
using: 'docker'
|
||
|
image: 'Dockerfile'
|
||
|
args:
|
||
|
- ${{ inputs.who-to-greet }}
|