action-gh-release/action.yml

31 lines
944 B
YAML
Raw Normal View History

2019-08-26 03:51:43 +00:00
# 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:
2019-08-26 04:21:21 +00:00
description: 'Note-worthy description of changes in release'
2019-08-26 03:51:43 +00:00
required: false
body-path:
description: 'Path to load note-worthy description of changes in release from'
required: false
2019-08-26 03:51:43 +00:00
name:
2019-09-09 11:17:51 +00:00
description: 'Gives the release a custom name. Defaults to tag name'
2019-08-26 03:51:43 +00:00
required: false
draft:
2019-09-17 14:30:36 +00:00
description: 'Creates a draft release. Defaults to false'
required: false
prerelease:
description: 'Identify the release as a prerelease. Defaults to false'
2019-08-26 03:51:43 +00:00
required: false
files:
2019-09-17 14:16:32 +00:00
description: 'Newline-delimited list of path globs for asset files to upload'
2019-08-26 03:51:43 +00:00
required: false
2019-09-09 09:26:06 +00:00
env:
'GITHUB_TOKEN': 'As provided by Github Actions'
2019-08-26 03:51:43 +00:00
runs:
2019-09-09 08:10:07 +00:00
using: 'node12'
main: 'lib/main.js'
2019-08-26 03:51:43 +00:00
branding:
2019-09-09 08:10:07 +00:00
color: 'green'
2019-08-26 03:51:43 +00:00
icon: 'package'