add inputs and outputs

This commit is contained in:
2023-12-21 10:43:37 +08:00
parent c4b432fa75
commit 0133d46eac

View File

@@ -1,5 +1,12 @@
name: 'Simple Go Action'
description: 'A simple Gitea Action written in Go'
inputs:
username:
description: 'The username to print'
required: true
outputs:
time:
description: 'The time when the action was called'
runs:
using: 'go'
main: 'main.go'