forked from comnoco/create-release-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
61 lines (61 loc) · 1.87 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'Create a Release for a Tag Action'
description: 'Create a release for a tag in your repository'
author: 'Thanyaluk Jirapech-umpai'
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
generate_release_notes:
description:
'Whether to automatically generate the name and body for this release.'
required: false
default: 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: 'node16'
main: 'dist/index.js'
branding:
icon: 'tag'
color: 'gray-dark'