mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 04:57:24 +00:00
fix: wrong long options
`-abc` means `-a -b -c` rather than `--abc`
This commit is contained in:
parent
b4dfea724f
commit
f224376059
3 changed files with 23 additions and 23 deletions
22
dist/index.js
vendored
22
dist/index.js
vendored
|
|
@ -22176,7 +22176,7 @@ const buildExec = () => {
|
|||
});
|
||||
}
|
||||
if (fullReport) {
|
||||
execArgs.push('-full', `${fullReport}`);
|
||||
execArgs.push('--full', `${fullReport}`);
|
||||
}
|
||||
if (flags) {
|
||||
flags.split(',').map((f) => f.trim()).forEach((f) => {
|
||||
|
|
@ -22187,22 +22187,22 @@ const buildExec = () => {
|
|||
execArgs.push('-g');
|
||||
}
|
||||
if (gcovArgs) {
|
||||
execArgs.push('-gcovArgs', `${gcovArgs}`);
|
||||
execArgs.push('--gcovArgs', `${gcovArgs}`);
|
||||
}
|
||||
if (gcovIgnore) {
|
||||
execArgs.push('-gcovIgnore', `${gcovIgnore}`);
|
||||
execArgs.push('--gcovIgnore', `${gcovIgnore}`);
|
||||
}
|
||||
if (gcovInclude) {
|
||||
execArgs.push('-gcovInclude', `${gcovInclude}`);
|
||||
execArgs.push('--gcovInclude', `${gcovInclude}`);
|
||||
}
|
||||
if (gcovExecutable) {
|
||||
execArgs.push('-gcovExecutable', `${gcovExecutable}`);
|
||||
execArgs.push('--gcovExecutable', `${gcovExecutable}`);
|
||||
}
|
||||
if (networkFilter) {
|
||||
execArgs.push('-networkFilter', `${networkFilter}`);
|
||||
execArgs.push('--networkFilter', `${networkFilter}`);
|
||||
}
|
||||
if (networkPrefix) {
|
||||
execArgs.push('-networkPrefix', `${networkPrefix}`);
|
||||
execArgs.push('--networkPrefix', `${networkPrefix}`);
|
||||
}
|
||||
if (overrideBranch) {
|
||||
execArgs.push('-B', `${overrideBranch}`);
|
||||
|
|
@ -22236,10 +22236,10 @@ const buildExec = () => {
|
|||
execArgs.push('-r', `${slug}`);
|
||||
}
|
||||
if (swift) {
|
||||
execArgs.push('-xs');
|
||||
execArgs.push('--xs');
|
||||
}
|
||||
if (swift && swiftProject) {
|
||||
execArgs.push('-xsp', `${swiftProject}`);
|
||||
execArgs.push('--xsp', `${swiftProject}`);
|
||||
}
|
||||
if (upstream) {
|
||||
execArgs.push('-U', `${upstream}`);
|
||||
|
|
@ -22251,8 +22251,8 @@ const buildExec = () => {
|
|||
execArgs.push('-v');
|
||||
}
|
||||
if (xcode && xcodeArchivePath) {
|
||||
execArgs.push('-xc');
|
||||
execArgs.push('-xp', `${xcodeArchivePath}`);
|
||||
execArgs.push('--xc');
|
||||
execArgs.push('--xp', `${xcodeArchivePath}`);
|
||||
}
|
||||
if (uploaderVersion == '') {
|
||||
uploaderVersion = 'latest';
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -115,7 +115,7 @@ const buildExec = () => {
|
|||
});
|
||||
}
|
||||
if (fullReport) {
|
||||
execArgs.push('-full', `${fullReport}`);
|
||||
execArgs.push('--full', `${fullReport}`);
|
||||
}
|
||||
if (flags) {
|
||||
flags.split(',').map((f) => f.trim()).forEach((f) => {
|
||||
|
|
@ -127,23 +127,23 @@ const buildExec = () => {
|
|||
execArgs.push('-g');
|
||||
}
|
||||
if (gcovArgs) {
|
||||
execArgs.push('-gcovArgs', `${gcovArgs}`);
|
||||
execArgs.push('--gcovArgs', `${gcovArgs}`);
|
||||
}
|
||||
if (gcovIgnore) {
|
||||
execArgs.push('-gcovIgnore', `${gcovIgnore}`);
|
||||
execArgs.push('--gcovIgnore', `${gcovIgnore}`);
|
||||
}
|
||||
if (gcovInclude) {
|
||||
execArgs.push('-gcovInclude', `${gcovInclude}`);
|
||||
execArgs.push('--gcovInclude', `${gcovInclude}`);
|
||||
}
|
||||
if (gcovExecutable) {
|
||||
execArgs.push('-gcovExecutable', `${gcovExecutable}`);
|
||||
execArgs.push('--gcovExecutable', `${gcovExecutable}`);
|
||||
}
|
||||
|
||||
if (networkFilter) {
|
||||
execArgs.push('-networkFilter', `${networkFilter}`);
|
||||
execArgs.push('--networkFilter', `${networkFilter}`);
|
||||
}
|
||||
if (networkPrefix) {
|
||||
execArgs.push('-networkPrefix', `${networkPrefix}`);
|
||||
execArgs.push('--networkPrefix', `${networkPrefix}`);
|
||||
}
|
||||
|
||||
if (overrideBranch) {
|
||||
|
|
@ -180,10 +180,10 @@ const buildExec = () => {
|
|||
execArgs.push('-r', `${slug}`);
|
||||
}
|
||||
if (swift) {
|
||||
execArgs.push('-xs');
|
||||
execArgs.push('--xs');
|
||||
}
|
||||
if (swift && swiftProject) {
|
||||
execArgs.push('-xsp', `${swiftProject}`);
|
||||
execArgs.push('--xsp', `${swiftProject}`);
|
||||
}
|
||||
if (upstream) {
|
||||
execArgs.push('-U', `${upstream}`);
|
||||
|
|
@ -195,8 +195,8 @@ const buildExec = () => {
|
|||
execArgs.push('-v');
|
||||
}
|
||||
if (xcode && xcodeArchivePath) {
|
||||
execArgs.push('-xc');
|
||||
execArgs.push('-xp', `${xcodeArchivePath}`);
|
||||
execArgs.push('--xc');
|
||||
execArgs.push('--xp', `${xcodeArchivePath}`);
|
||||
}
|
||||
|
||||
if (uploaderVersion == '') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue