mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
fix: revert changes
This commit is contained in:
parent
a8a046d6ab
commit
4597db2d36
3 changed files with 13 additions and 5 deletions
8
dist/index.js
vendored
8
dist/index.js
vendored
|
|
@ -32393,7 +32393,9 @@ 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 || '',
|
||||
});
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
if (token) {
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
if (commitParent) {
|
||||
commitExecArgs.push('--parent-sha', `${commitParent}`);
|
||||
}
|
||||
|
|
@ -32460,7 +32462,9 @@ 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 || '',
|
||||
});
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
if (token) {
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
reportExecArgs.push('--git-service', `${gitService}`);
|
||||
if (overrideCommit) {
|
||||
reportExecArgs.push('-C', `${overrideCommit}`);
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -99,7 +99,9 @@ const buildCommitExec = async (): Promise<{
|
|||
});
|
||||
|
||||
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
if (token) {
|
||||
commitOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
if (commitParent) {
|
||||
commitExecArgs.push('--parent-sha', `${commitParent}`);
|
||||
}
|
||||
|
|
@ -186,7 +188,9 @@ const buildReportExec = async (): Promise<{
|
|||
});
|
||||
|
||||
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
if (token) {
|
||||
reportOptions.env.CODECOV_TOKEN = token;
|
||||
}
|
||||
reportExecArgs.push('--git-service', `${gitService}`);
|
||||
|
||||
if (overrideCommit) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue