mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
try turning token to string
This commit is contained in:
parent
5ba6e211a4
commit
16629f7a46
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -10,7 +10,7 @@ try {
|
|||
const name = core.getInput('name');
|
||||
console.log(`Name: ${name}`);
|
||||
|
||||
const token = core.getInput('token');
|
||||
let token = core.getInput('token');
|
||||
console.log(`Token: ${token}`);
|
||||
|
||||
const flags = core.getInput('flags');
|
||||
|
|
@ -28,7 +28,7 @@ try {
|
|||
//console.log('error:', error);
|
||||
//console.log('statusCode:', response && response.statusCode);
|
||||
//console.log('body:', body);
|
||||
|
||||
token = token.toString()
|
||||
|
||||
execSh([`export CODECOV_TOKEN=${token}`, body], true, (err, stdout, stderr)=>{
|
||||
//console.log("error: ", err);
|
||||
|
|
|
|||
Loading…
Reference in a new issue