mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
chore(deps): bump wrapper to 0.0.23 (#1644)
This commit is contained in:
7
dist/codecov.sh
vendored
7
dist/codecov.sh
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
CC_WRAPPER_VERSION="0.0.22"
|
CC_WRAPPER_VERSION="0.0.23"
|
||||||
set +u
|
set +u
|
||||||
say() {
|
say() {
|
||||||
echo -e "$1"
|
echo -e "$1"
|
||||||
@@ -80,13 +80,16 @@ else
|
|||||||
say "$g ->$x Downloading $b${cc_url}$x"
|
say "$g ->$x Downloading $b${cc_url}$x"
|
||||||
curl -Os $cc_url
|
curl -Os $cc_url
|
||||||
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
|
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
|
||||||
|
version_url="https://cli.codecov.io/${cc_os}/${CC_VERSION}"
|
||||||
|
version=$(curl -s $version_url -H "Accept:application/json" | jq -r '.version')
|
||||||
|
say " Version: $b$version$x"
|
||||||
say " "
|
say " "
|
||||||
fi
|
fi
|
||||||
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
|
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
|
||||||
then
|
then
|
||||||
say "$r==>$x Bypassing validation as requested by user"
|
say "$r==>$x Bypassing validation as requested by user"
|
||||||
else
|
else
|
||||||
CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc)
|
CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
|
||||||
echo "${CC_PUBLIC_PGP_KEY}" | \
|
echo "${CC_PUBLIC_PGP_KEY}" | \
|
||||||
gpg --no-default-keyring --import
|
gpg --no-default-keyring --import
|
||||||
# One-time step
|
# One-time step
|
||||||
|
|||||||
Submodule src/scripts updated: 44fa6396f4...c4d213e688
Reference in New Issue
Block a user