mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 12:07:25 +00:00
fix: force set token
This commit is contained in:
parent
52bd105ad4
commit
70a4cf0e19
3 changed files with 7 additions and 19 deletions
12
dist/index.js
vendored
12
dist/index.js
vendored
|
|
@ -32393,9 +32393,7 @@ const buildCommitExec = () => buildExec_awaiter(void 0, void 0, void 0, function
|
|||
GITHUB_SHA: process.env.GITHUB_SHA,
|
||||
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || '',
|
||||
});
|
||||
if (token) {
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
if (commitParent) {
|
||||
commitExecArgs.push('--parent-sha', `${commitParent}`);
|
||||
}
|
||||
|
|
@ -32462,9 +32460,7 @@ const buildReportExec = () => buildExec_awaiter(void 0, void 0, void 0, function
|
|||
GITHUB_SHA: process.env.GITHUB_SHA,
|
||||
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || '',
|
||||
});
|
||||
if (token) {
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
reportExecArgs.push('--git-service', `${gitService}`);
|
||||
if (overrideCommit) {
|
||||
reportExecArgs.push('-C', `${overrideCommit}`);
|
||||
|
|
@ -32542,9 +32538,7 @@ const buildUploadExec = () => buildExec_awaiter(void 0, void 0, void 0, function
|
|||
envVarsArg.push(envVarClean);
|
||||
}
|
||||
}
|
||||
if (token) {
|
||||
uploadOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
uploadOptions.env.CODECOV_TOKEN = token;
|
||||
if (disableFileFixes) {
|
||||
uploadExecArgs.push('--disable-file-fixes');
|
||||
}
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -99,9 +99,7 @@ const buildCommitExec = async (): Promise<{
|
|||
});
|
||||
|
||||
|
||||
if (token) {
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
if (commitParent) {
|
||||
commitExecArgs.push('--parent-sha', `${commitParent}`);
|
||||
}
|
||||
|
|
@ -188,9 +186,7 @@ const buildReportExec = async (): Promise<{
|
|||
});
|
||||
|
||||
|
||||
if (token) {
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
reportExecArgs.push('--git-service', `${gitService}`);
|
||||
|
||||
if (overrideCommit) {
|
||||
|
|
@ -285,9 +281,7 @@ const buildUploadExec = async (): Promise<{
|
|||
envVarsArg.push(envVarClean);
|
||||
}
|
||||
}
|
||||
if (token) {
|
||||
uploadOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
uploadOptions.env.CODECOV_TOKEN = token;
|
||||
if (disableFileFixes) {
|
||||
uploadExecArgs.push('--disable-file-fixes');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue