mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
feat: Use new Codecov uploader
This commit is contained in:
parent
4463da3901
commit
cf7b8b83b2
6 changed files with 123 additions and 3771 deletions
1883
src/codecov
1883
src/codecov
File diff suppressed because it is too large
Load diff
11
src/index.ts
11
src/index.ts
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue