From 0133d46eac47505237bd2f43b18207f18029bdf8 Mon Sep 17 00:00:00 2001 From: fghwett <1058178245@qq.com> Date: Thu, 21 Dec 2023 10:43:37 +0800 Subject: [PATCH] add inputs and outputs --- action.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yaml b/action.yaml index 3ed56ae..865755c 100644 --- a/action.yaml +++ b/action.yaml @@ -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' \ No newline at end of file