mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-15 23:41:45 +00:00
fix: 0.0.20
This commit is contained in:
parent
149664a835
commit
396109ceb7
1 changed files with 2 additions and 2 deletions
4
dist/codecov.sh
vendored
4
dist/codecov.sh
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
CC_WRAPPER_VERSION="0.0.19"
|
CC_WRAPPER_VERSION="0.0.20"
|
||||||
say() {
|
say() {
|
||||||
echo -e "$1"
|
echo -e "$1"
|
||||||
}
|
}
|
||||||
|
|
@ -40,7 +40,6 @@ say " _____ _
|
||||||
"
|
"
|
||||||
CC_VERSION="${CC_VERSION:-latest}"
|
CC_VERSION="${CC_VERSION:-latest}"
|
||||||
CC_FAIL_ON_ERROR="${CC_FAIL_ON_ERROR:-false}"
|
CC_FAIL_ON_ERROR="${CC_FAIL_ON_ERROR:-false}"
|
||||||
CC_OS="linux"
|
|
||||||
if [ -n "$CC_BINARY" ];
|
if [ -n "$CC_BINARY" ];
|
||||||
then
|
then
|
||||||
if [ -f "$CC_BINARY" ];
|
if [ -f "$CC_BINARY" ];
|
||||||
|
|
@ -55,6 +54,7 @@ else
|
||||||
say "$g==>$x Overridden OS: $b${CC_OS}$x"
|
say "$g==>$x Overridden OS: $b${CC_OS}$x"
|
||||||
export cc_os=${CC_OS}
|
export cc_os=${CC_OS}
|
||||||
else
|
else
|
||||||
|
CC_OS="linux"
|
||||||
family=$(uname -s | tr '[:upper:]' '[:lower:]')
|
family=$(uname -s | tr '[:upper:]' '[:lower:]')
|
||||||
cc_os="windows"
|
cc_os="windows"
|
||||||
[[ $family == "darwin" ]] && cc_os="macos"
|
[[ $family == "darwin" ]] && cc_os="macos"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue