-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
68 lines (68 loc) · 2.52 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
62
63
64
65
66
67
68
name: 'create-release'
description: 'Github Action for creating Github Releases'
author: 'Conventional Actions'
inputs:
body:
description: 'Noteworthy description of changes in release'
required: false
body_path:
description: 'Path to load noteworthy description of changes in release from'
required: false
name:
description: 'Gives the release a custom name. Defaults to tag name'
required: false
tag_name:
description: 'Gives a tag name. Defaults to github.ref'
required: false
default: ${{ github.ref }}
draft:
description: 'Creates a draft release. Defaults to false'
required: false
default: 'false'
prerelease:
description: 'Identify the release as a prerelease. Defaults to false'
required: false
default: 'false'
files:
description: 'Newline-delimited list of path globs for asset files to upload'
required: false
artifacts:
description: 'Newline-delimited list of artifact globs to upload'
required: false
fail_on_unmatched_files:
description: 'Fails if any of the `files` globs match nothing. Defaults to false'
required: false
default: 'false'
repository:
description: 'Repository to make releases against, in <owner>/<repo> format'
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
generate_release_notes:
description: 'Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes.'
required: false
default: 'true'
append_body:
description: 'Append to existing body instead of overwriting it. Default is false.'
required: false
default: 'false'
outputs:
url:
description: 'URL to the Release HTML Page'
id:
description: 'Release ID'
upload_url:
description: 'URL for uploading assets to the release'
assets:
description: 'JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field)'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
color: 'purple'
icon: 'package'