release-action/action.yml

31 lines
726 B
YAML
Raw Permalink Normal View History

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