-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
111 lines (107 loc) · 3.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: "Upload To Github Release"
description: "Github Action to deploy files to github release"
author: "owent"
inputs:
file:
description: "The files or file patterns to upload. You can upload multiple files by split them by semicolon. You can use the glob pattern to find the files."
required: true
default: ""
delete_file:
description: "The files or file patterns to delete before uploading new files. You can delete multiple files by split them by semicolon. You can use the glob pattern to find the files."
required: false
default: ""
overwrite:
description: "If you need to overwrite existing files, add overwrite: true to the with."
required: false
default: "false"
draft:
description: "The resultant deployment is a draft Release that only repository collaborators can see. This gives you an opportunity to examine and edit the draft release."
required: false
default: ""
prerelease:
description: "The resultant deployment is a Prerelease. This gives you an opportunity to examine and edit the prerelease."
required: false
default: ""
tags:
description: "With tags: true, your Releases deployment will trigger if and only if the build is a tagged build."
required: false
default: "false"
branches:
description: "Only work on these branches(splited by semicolon), set to nothing to accept all branches."
required: false
default: ""
verbose:
description: "With verbose: true, be verbose."
required: false
default: "false"
tag_name:
description: "Set custom tag name."
required: false
default: ""
update_latest_release:
description: "If try to update latest release."
required: false
default: "false"
release_id:
description: "Set release id to update.If release_id is set, this step will fail if we can not find it."
required: false
default: ""
default_release_name:
description: "Set release name when create a new release."
required: false
default: ""
default_release_body:
description: "Set release body when create a new release.Not needed if using default_release_body_path."
required: false
default: ""
default_release_body_path:
description: "Set the file to read release body when create a new release.Not needed if using default_release_body."
required: false
default: ""
update_release_body:
description: "Always update release body when it's not empty."
required: false
default: ""
update_release_body_path:
description: "Always update release body from file.Not needed if using update_release_body."
required: false
default: ""
update_release_body_append:
description: "Append content instead of replace release body when updating."
required: false
default: "false"
token:
description: "Authorized secret GitHub Personal Access Token. Defaults to github.token"
required: false
default: ${{ github.token }}
target_owner:
description: "Set the owner of target repository(default: current user/origanization)."
required: false
default: ""
target_repo:
description: "Set target repository(default: current repository)."
required: false
default: ""
find_draft_release_count:
description: "How many releases to check when we find a existing draft release.(default: 32)."
required: false
default: "32"
outputs:
release_id:
description: "The release id"
release_name:
description: "The release name"
release_url:
description: "The release url"
release_tag_name:
description: "The release tag name"
release_commitish:
description: "The release commit"
runs:
using: "node20"
main: "lib/index.js"
# env:
# key: value
branding:
icon: "upload"
color: "gray-dark"