mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-12 05:11:36 +00:00
feat: add xcode support
This commit is contained in:
@@ -45,6 +45,8 @@ const buildExec = () => {
|
||||
const url = core.getInput('url');
|
||||
const verbose = isTrue(core.getInput('verbose'));
|
||||
const workingDir = core.getInput('working-directory');
|
||||
const xcode = core.getInput('xcode');
|
||||
const xcodeArchivePath = core.getInput('xcode_archive_path');
|
||||
|
||||
const execArgs = [];
|
||||
execArgs.push(
|
||||
@@ -165,6 +167,10 @@ const buildExec = () => {
|
||||
if (workingDir) {
|
||||
options.cwd = workingDir;
|
||||
}
|
||||
if (xcode && xcodeArchivePath) {
|
||||
execArgs.push('--xc');
|
||||
execArgs.push('--xp', `${xcodeArchivePath}`);
|
||||
}
|
||||
|
||||
if (uploaderVersion == '') {
|
||||
uploaderVersion = 'latest';
|
||||
|
||||
Reference in New Issue
Block a user