feat: Use new Codecov uploader

This commit is contained in:
Tom Hu 2021-06-24 10:50:37 -04:00
parent 4463da3901
commit cf7b8b83b2
No known key found for this signature in database
GPG key ID: F7E832BD316D5603
6 changed files with 123 additions and 3771 deletions

File diff suppressed because it is too large Load diff

View file

@ -3,9 +3,16 @@ const exec = require('@actions/exec');
import buildExec from './buildExec';
const {execArgs, options, failCi} = buildExec();
const {failCi} = buildExec();
exec.exec('bash', execArgs, options)
exec.exec('bash', ['bash/linux', '-c'])
.catch((err) => {
core.setFailed(
`Codecov failed with the following error: ${err.message}`,
);
});
exec.exec('codecov-linux')
.catch((err) => {
if (failCi) {
core.setFailed(