Try to fix codecov upload issue using token
This commit is contained in:
parent
7ccdcb02fb
commit
205b57cc1d
|
@ -97,6 +97,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app
|
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app
|
||||||
WORKSPACE_NAME: SDWebImage.xcworkspace
|
WORKSPACE_NAME: SDWebImage.xcworkspace
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
iosDestination: ["platform=iOS Simulator,name=iPhone 13 Pro"]
|
iosDestination: ["platform=iOS Simulator,name=iPhone 13 Pro"]
|
||||||
|
@ -146,9 +147,9 @@ jobs:
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
export PATH="/usr/local/opt/curl/bin:$PATH"
|
export PATH="/usr/local/opt/curl/bin:$PATH"
|
||||||
curl --version
|
curl --version
|
||||||
bash <(curl -s https://codecov.io/bash) -D './DerivedData/macOS' -J '^SDWebImage$' -c -X gcov -F macos
|
bash <(curl -s https://codecov.io/bash) -v -D './DerivedData/macOS' -J '^SDWebImage$' -c -X gcov -F macos
|
||||||
bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImage$' -c -X gcov -F ios
|
bash <(curl -s https://codecov.io/bash) -v -D './DerivedData/iOS' -J '^SDWebImage$' -c -X gcov -F ios
|
||||||
bash <(curl -s https://codecov.io/bash) -D './DerivedData/tvOS' -J '^SDWebImage$' -c -X gcov -F tvos
|
bash <(curl -s https://codecov.io/bash) -v -D './DerivedData/tvOS' -J '^SDWebImage$' -c -X gcov -F tvos
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
name: Build Library
|
name: Build Library
|
||||||
|
|
|
@ -7,8 +7,11 @@ coverage:
|
||||||
project:
|
project:
|
||||||
default: off
|
default: off
|
||||||
ios:
|
ios:
|
||||||
flags: ios
|
flags:
|
||||||
|
- ios
|
||||||
macos:
|
macos:
|
||||||
flags: macos
|
flags:
|
||||||
|
- macos
|
||||||
tvos:
|
tvos:
|
||||||
flags: tvos
|
flags:
|
||||||
|
- tvos
|
||||||
|
|
Loading…
Reference in New Issue