release-action/action.yml
2024-04-28 13:50:24 +08:00

34 lines
790 B
YAML

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
body:
description: 'The release body'
required: false
note:
description: 'The release note'
required: false
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'