File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 54
54
| `repo-root` | **Optional.** Root directory of the repository. |
55
55
| `team` | **Optional.** Team that owns the upload. |
56
56
| `run` | **Optional.** Command to run before uploading test results. |
57
- | `tags` | **Optional.** Comma separated list of custom `tag=value` pairs. |
58
57
| `cli-version` | **Optional.** Version of the uploader to use. |
59
58
60
59
# # Questions
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ inputs:
19
19
description : The command to run before uploading test results.
20
20
required : false
21
21
tags :
22
- description : Comma separated list of custom tag=value pairs.
22
+ description : Comma separated list of custom tag=value pairs. This is deprecated and will be removed in a future release.
23
23
required : false
24
24
repo-root :
25
25
description : The root directory of the repository.
Original file line number Diff line number Diff line change 66
66
67
67
REPO_HEAD_BRANCH=" ${REPO_HEAD_BRANCH-} "
68
68
REPO_ROOT=" ${REPO_ROOT-} "
69
- TAGS=" ${TAGS-} "
70
69
TOKEN=${INPUT_TOKEN:- ${TRUNK_API_TOKEN} } # Defaults to TRUNK_API_TOKEN env var.
71
70
TEAM=" ${TEAM-} "
72
71
JUNIT_PATHS=" ${JUNIT_PATHS-} "
@@ -99,7 +98,6 @@ if [[ $# -eq 0 ]]; then
99
98
${REPO_HEAD_BRANCH: +--repo-head-branch " ${REPO_HEAD_BRANCH} " } \
100
99
--repo-root " ${REPO_ROOT} " \
101
100
--team " ${TEAM} " \
102
- --tags " ${TAGS} " \
103
101
${ALLOW_MISSING_JUNIT_FILES_ARG} \
104
102
${HIDE_BANNER} \
105
103
${QUARANTINE_ARG}
113
111
${REPO_HEAD_BRANCH: +--repo-head-branch " ${REPO_HEAD_BRANCH} " } \
114
112
--repo-root " ${REPO_ROOT} " \
115
113
--team " ${TEAM} " \
116
- --tags " ${TAGS} " \
117
114
${ALLOW_MISSING_JUNIT_FILES_ARG} \
118
115
${HIDE_BANNER} \
119
116
${QUARANTINE_ARG} " $@ "
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ test("Forwards inputs", async () => {
31
31
INPUT_TOKEN : "token" ,
32
32
REPO_HEAD_BRANCH : "" ,
33
33
REPO_ROOT : "" ,
34
- TAGS : "" ,
35
34
CLI_VERSION : "0.0.0" ,
36
35
TEAM : "" ,
37
36
QUARANTINE : "" ,
@@ -58,7 +57,7 @@ test("Forwards inputs", async () => {
58
57
}
59
58
expect ( { stdout, stderr, exit_code } ) . toMatchObject ( {
60
59
stdout :
61
- "upload --junit-paths junit.xml --org-url-slug org --token token --repo-root --team --tags " ,
60
+ "upload --junit-paths junit.xml --org-url-slug org --token token --repo-root --team" ,
62
61
stderr : `+ [[ 0.0.0 == \\l\\a\\t\\e\\s\\t ]]
63
62
+ [[ -f ./trunk-analytics-cli ]]
64
63
+ chmod +x ./trunk-analytics-cli
You can’t perform that action at this time.
0 commit comments