Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
create-release/action.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
46 lines (46 sloc)
1.62 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Create a Release' | |
description: 'Create a release for a tag in your repository' | |
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 | |
body_path: | |
description: 'Path to file with information about the tag.' | |
required: false | |
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 | |
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' |