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
|
2019-09-29 12:45:47 +00:00
|
|
|
body_path:
|
2019-08-26 05:26:13 +00:00
|
|
|
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
|
2020-01-09 06:06:19 +00:00
|
|
|
tag_name:
|
|
|
|
description: 'Gives a tag name. Defaults to github.GITHUB_REF'
|
|
|
|
required: false
|
2019-08-26 03:51:43 +00:00
|
|
|
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
|
2020-06-25 06:11:41 +00:00
|
|
|
fail_on_unmatched_files:
|
|
|
|
description: 'Fails if any of the `files` globs match nothing. Defaults to false'
|
|
|
|
required: false
|
2020-12-20 19:44:30 +00:00
|
|
|
repository:
|
|
|
|
description: 'Repository to make releases against, in <owner>/<repo> format'
|
|
|
|
required: false
|
2019-09-09 09:26:06 +00:00
|
|
|
env:
|
|
|
|
'GITHUB_TOKEN': 'As provided by Github Actions'
|
2019-10-17 15:08:28 +00:00
|
|
|
outputs:
|
|
|
|
url:
|
|
|
|
description: 'URL to the Release HTML Page'
|
2019-08-26 03:51:43 +00:00
|
|
|
runs:
|
2019-09-09 08:10:07 +00:00
|
|
|
using: 'node12'
|
2020-01-05 23:00:23 +00:00
|
|
|
main: 'dist/index.js'
|
2019-08-26 03:51:43 +00:00
|
|
|
branding:
|
2019-09-09 08:10:07 +00:00
|
|
|
color: 'green'
|
2020-12-20 19:44:30 +00:00
|
|
|
icon: 'package'
|