action-gh-release/action.yml

58 lines
2 KiB
YAML
Raw Permalink 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"
2019-08-26 03:51:43 +00:00
inputs:
body:
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:
description: "Path to load note-worthy description of changes in release from"
required: false
2019-08-26 03:51:43 +00:00
name:
description: "Gives the release a custom name. Defaults to tag name"
2019-08-26 03:51:43 +00:00
required: false
tag_name:
description: "Gives a tag name. Defaults to github.GITHUB_REF"
required: false
2019-08-26 03:51:43 +00:00
draft:
description: "Creates a draft release. Defaults to false"
2019-09-17 14:30:36 +00:00
required: false
prerelease:
description: "Identify the release as a prerelease. Defaults to false"
2019-08-26 03:51:43 +00:00
required: false
files:
description: "Newline-delimited list of path globs for asset files to upload"
2019-08-26 03:51:43 +00:00
required: false
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"
2020-12-20 19:44:30 +00:00
required: false
token:
description: "Authorized secret GitHub Personal Access Token. Defaults to github.token"
required: false
default: ${{ github.token }}
target_commitish:
description: "Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA."
required: false
discussion_category_name:
description: "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored."
required: false
2019-09-09 09:26:06 +00:00
env:
"GITHUB_TOKEN": "As provided by Github Actions"
outputs:
url:
description: "URL to the Release HTML Page"
id:
description: "Release ID"
upload_url:
description: "URL for uploading assets to the release"
2019-08-26 03:51:43 +00:00
runs:
using: "node12"
main: "dist/index.js"
2019-08-26 03:51:43 +00:00
branding:
color: "green"
icon: "package"