release/action.yml
2023-04-16 15:02:22 +08:00

27 lines
661 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
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'