Skip to content

Commit ab831f2

Browse files
committed
Improve CircleCI config
1 parent d56543e commit ab831f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ jobs:
5353
# https://daniel.haxx.se/blog/2020/06/24/curl-7-71-0-blobs-and-retries/
5454
# https://curl.se/docs/manpage.html#--retry-all-errors
5555
command: |
56-
CODECOV_BIN="$(mktemp -d)/codecov/bin"
56+
CODECOV="$(mktemp -d)/codecov/bin/codecov"
5757
# `mktemp` on codecov doesn't support long options, use short
5858
# options instead.
5959
60-
CODECOV="${CODECOV_BIN}/codecov"
61-
curl --output "${CODECOV}" --create-dirs --silent --show-error https://cli.codecov.io/latest/linux/codecov
60+
curl --output "${CODECOV}" --create-dirs --location --silent --show-error https://cli.codecov.io/latest/linux/codecov
6261
chmod +x "${CODECOV}"
6362
6463
"${CODECOV}" upload-process --file coverage.txt --slug "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}"

0 commit comments

Comments
 (0)