fix: Add action version

This commit is contained in:
Tom Hu
2021-06-08 11:32:00 -04:00
parent c53d6ba320
commit c9d0b8155c
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@@ -7220,7 +7220,7 @@ var buildExec = function () {
var filepath = workingDir ?
workingDir + '/codecov.sh' : 'codecov.sh';
var execArgs = [filepath];
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', 'github-action');
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', 'github-action-1.5.1');
var options = {};
options.env = Object.assign(process.env, {
GITHUB_ACTION: process.env.GITHUB_ACTION,

View File

@@ -51,7 +51,7 @@ const buildExec = () => {
workingDir + '/codecov.sh' : 'codecov.sh';
const execArgs = [filepath];
execArgs.push( '-n', `${name}`, '-F', `${flags}`, '-Q', 'github-action' );
execArgs.push( '-n', `${name}`, '-F', `${flags}`, '-Q', 'github-action-1.5.1' );
const options:any = {};
options.env = Object.assign(process.env, {