Skip to content

Commit

Permalink
[semver:patch] chore: switch to using env_var_name for token type (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Jul 16, 2021
1 parent 4889312 commit 84e8472
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/@orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ commands:
default: ""
token:
description: Set the private repository token as the value of the variable CODECOV_TOKEN using CircleCI Environment Variables.
type: string
default: ${CODECOV_TOKEN}
type: env_var_name
default: CODECOV_TOKEN
upload_name:
description: Custom defined name of the upload. Visible in Codecov UI
type: string
Expand Down Expand Up @@ -75,7 +75,7 @@ commands:
[[ -n "<< parameters.xtra_args >>" ]] && args+=( '<< parameters.xtra_args >>' )
bash codecov \
-Q "codecov-circleci-orb-1.2.3" \
-t "<< parameters.token >>" \
-t "${<< parameters.token >>}" \
-n "<< parameters.upload_name >>" \
-F "<< parameters.flags >>" \
${args[@]}

0 comments on commit 84e8472

Please sign in to comment.