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

View File

@@ -1,6 +1,8 @@
const core = require('@actions/core');
const github = require('@actions/github');
const VERSION = require('./version');
const context = github.context;
const isTrue = (variable) => {
@@ -51,7 +53,14 @@ const buildExec = () => {
workingDir + '/codecov.sh' : 'codecov.sh';
const execArgs = [filepath];
execArgs.push( '-n', `${name}`, '-F', `${flags}`, '-Q', 'github-action-1.5.1' );
execArgs.push(
'-n',
`${name}`,
'-F',
`${flags}`,
'-Q',
`github-action-${VERSION}`,
);
const options:any = {};
options.env = Object.assign(process.env, {