소스 검색

Merge pull request #9048 from nextcloud/codecov-uploader-update

codecov: Use new codecov uploader instead of the deprecated bash uploader
Tobias Kaminsky 3 년 전
부모
커밋
150cb04483
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      scripts/runCombinedTest.sh

+ 3 - 2
scripts/runCombinedTest.sh

@@ -33,8 +33,9 @@ fi
 ./gradlew combinedTestReport
 stat=$(( stat | $? ))
 
-curl -o codecov.sh https://codecov.io/bash
-bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5
+curl -Os https://uploader.codecov.io/latest/linux/codecov
+chmod +x codecov
+./codecov -t fc506ba4-33c3-43e4-a760-aada38c24fd5
 
 echo "Exit with: " $stat
 exit $stat