Skip to content

Commit 84e8472

Browse files
authored
[semver:patch] chore: switch to using env_var_name for token type (#95)
1 parent 4889312 commit 84e8472

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/@orb.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ commands:
1919
default: ""
2020
token:
2121
description: Set the private repository token as the value of the variable CODECOV_TOKEN using CircleCI Environment Variables.
22-
type: string
23-
default: ${CODECOV_TOKEN}
22+
type: env_var_name
23+
default: CODECOV_TOKEN
2424
upload_name:
2525
description: Custom defined name of the upload. Visible in Codecov UI
2626
type: string
@@ -75,7 +75,7 @@ commands:
7575
[[ -n "<< parameters.xtra_args >>" ]] && args+=( '<< parameters.xtra_args >>' )
7676
bash codecov \
7777
-Q "codecov-circleci-orb-1.2.3" \
78-
-t "<< parameters.token >>" \
78+
-t "${<< parameters.token >>}" \
7979
-n "<< parameters.upload_name >>" \
8080
-F "<< parameters.flags >>" \
8181
${args[@]}

0 commit comments

Comments
 (0)