Files
create-release/action.yml

47 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2019-09-20 14:55:33 -05:00
name: 'Create a Release'
2019-11-08 16:02:58 +00:00
description: 'Create a release for a tag in your repository'
2019-09-20 14:55:33 -05:00
author: 'GitHub'
inputs:
tag_name:
description: 'The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag'
required: true
release_name:
description: 'The name of the release. For example, `Release v1.0.1`'
required: true
body:
description: 'Text describing the contents of the tag.'
required: false
2020-05-26 12:09:33 -07:00
body_path:
description: 'Path to file with information about the tag.'
required: false
2019-09-20 14:55:33 -05:00
draft:
description: '`true` to create a draft (unpublished) release, `false` to create a published one. Default: `false`'
required: false
default: false
prerelease:
description: '`true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false`'
required: false
default: false
commitish:
description: 'Any branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commit'
required: false
owner:
description: 'Owner of the repository if it is not the current one'
required: false
repo:
description: 'Repository on which to release. Used only if you want to create the release on another repo'
required: false
2019-09-20 14:55:33 -05:00
outputs:
id:
description: 'The ID of the created Release'
html_url:
description: 'The URL users can navigate to in order to view the release'
upload_url:
description: 'The URL for uploading assets to the release'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'tag'
color: 'gray-dark'