action-gh-release/action.yml
2019-09-09 18:26:06 +09:00

35 lines
970 B
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'GH Release'
description: 'Github Action for creating Github Releases'
author: 'softprops'
inputs:
body:
description: 'Note-worthy description of changes in release'
required: false
default: 'empty'
body-path:
description: 'Path to load note-worthy description of changes in release from'
required: false
default: 'empty'
name:
description: 'Gives the release a custom name'
required: false
default: 'Name of tag'
draft:
description: 'Creates a draft release'
required: false
default: 'false'
files:
description: 'Comma-delimited list of path globs for asset files to upload'
required: false
default: 'empty'
env:
'GITHUB_TOKEN': 'As provided by Github Actions'
runs:
#using: 'docker'
#image: 'docker://softprops:action-gh-action'
using: 'node12'
main: 'lib/main.js'
branding:
color: 'green'
icon: 'package'