2023-04-17 13:52:29 +08:00
|
|
|
name: 'Simple Go Action'
|
|
|
|
description: 'A simple Gitea action written in go'
|
2024-08-12 16:13:37 +08:00
|
|
|
on: [push]
|
|
|
|
runs-on: ps_runner_labels
|
2023-04-17 13:52:29 +08:00
|
|
|
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'
|
|
|
|
pre: "pre/pre.go"
|
|
|
|
post: "post/post.go"
|