36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: 'Release'
|
|
description: 'Creates github releases'
|
|
author: 'Nick Cipollo'
|
|
inputs:
|
|
artifact:
|
|
description: 'A path to an optional artifact to upload to the release.'
|
|
default: ''
|
|
artifactContentType:
|
|
description: 'The content type of the artifact. Defaults to raw'
|
|
default: ''
|
|
body:
|
|
description: 'An optional body for the release.'
|
|
default: ''
|
|
bodyFile:
|
|
description: 'An optional body file for the release. This should be the path to the file'
|
|
default: ''
|
|
commit:
|
|
description: "An optional commit reference. This will be used to create the tag if it does not exist."
|
|
default: ''
|
|
draft:
|
|
description: "Optionally marks this release as a draft release. Set to true to enable."
|
|
default: ''
|
|
name:
|
|
description: 'An optional name for the release. If this is omitted the tag will be used.'
|
|
default: ''
|
|
tag:
|
|
description: 'An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).'
|
|
default: ''
|
|
token:
|
|
description: 'The Github token.'
|
|
required: true
|
|
default: ''
|
|
runs:
|
|
using: 'node12'
|
|
main: 'lib/Main.js'
|