release-action/action.yml

34 lines
784 B
YAML
Raw Normal View History

2023-08-06 05:37:18 +00:00
name: "Gitea Release Action"
description: "A Gitea Action to manage Gitea release"
2023-04-16 07:02:22 +00:00
inputs:
files:
2023-08-06 05:37:18 +00:00
description: "The files needs to be uploaded"
2023-04-16 07:02:22 +00:00
required: true
2023-08-06 05:37:18 +00:00
tag:
description: "The release tag"
2023-04-16 07:02:22 +00:00
required: false
2023-08-06 05:37:18 +00:00
title:
description: "The release title"
2023-07-07 02:36:39 +00:00
required: false
2023-08-06 05:37:18 +00:00
body:
description: "The release body"
required: false
pre_release:
2023-04-16 07:02:22 +00:00
description: "Whether it's a pre release"
required: false
2023-08-06 05:37:18 +00:00
draft:
2023-04-16 07:02:22 +00:00
description: "Whether it's a draft"
required: false
api_key:
2023-08-06 05:37:18 +00:00
description: "The access token to interact with Gitea"
2023-04-16 07:02:22 +00:00
required: false
insecure:
2023-08-06 05:37:18 +00:00
description: "Whether allow insecure Gitea instance"
2023-04-16 07:02:22 +00:00
required: false
outputs:
status:
2023-08-06 05:37:18 +00:00
description: "The upload status"
2023-04-16 07:02:22 +00:00
runs:
2023-08-06 05:37:18 +00:00
using: "go"
main: "main.go"