forked from xresloader/upload-to-github-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
71 lines (67 loc) · 2.33 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
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: "true"
prerelease:
description: "The resultant deployment is a Prerelease. This gives you an opportunity to examine and edit the prerelease."
required: false
default: "false"
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: ""
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: "node12"
main: "lib/index.js"
# env:
# key: value
branding:
icon: "upload"
color: "gray-dark"