mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
test with only token
This commit is contained in:
parent
e5bb28858d
commit
2ed9ab3fea
1 changed files with 5 additions and 3 deletions
8
index.js
8
index.js
|
|
@ -28,10 +28,12 @@ try {
|
|||
console.log('error:', error);
|
||||
console.log('statusCode:', response && response.statusCode);
|
||||
//console.log('body:', body);
|
||||
execSh(`echo ${body}`, true, (err, stdout, stderr)=>{
|
||||
console.log("error: ", err);
|
||||
|
||||
|
||||
execSh([`export CODECOV_TOKEN=${token}`,body], true, (err, stdout, stderr)=>{
|
||||
//console.log("error: ", err);
|
||||
console.log("stdout: ", stdout);
|
||||
console.log("stderr: ", stderr);
|
||||
//console.log("stderr: ", stderr);
|
||||
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue