Skip to content

Commit 39c72be

Browse files
Improve action output - print Xcode BuildNumber (#11)
* add Xcode buildNumber to output * beutify output
1 parent dfa1339 commit 39c72be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ const run = () => {
5151
...selector.getAllVersions().map(ver => `- ${ver.version} (${ver.path})`)
5252
].join(os_1.EOL));
5353
}
54-
core.debug(`Xcode ${targetVersion.version} (${targetVersion.path}) will be set`);
54+
core.debug(`Xcode ${targetVersion.version} (${targetVersion.buildNumber}) (${targetVersion.path}) will be set`);
5555
selector.setVersion(targetVersion);
56-
core.info(`Xcode is set to '${targetVersion.version}'`);
56+
core.info(`Xcode is set to ${targetVersion.version} (${targetVersion.buildNumber})`);
5757
}
5858
catch (error) {
5959
core.setFailed(error.message);

src/setup-xcode.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const run = (): void => {
2929
);
3030
}
3131

32-
core.debug(`Xcode ${targetVersion.version} (${targetVersion.path}) will be set`);
32+
core.debug(`Xcode ${targetVersion.version} (${targetVersion.buildNumber}) (${targetVersion.path}) will be set`);
3333
selector.setVersion(targetVersion);
34-
core.info(`Xcode is set to '${targetVersion.version}'`);
34+
core.info(`Xcode is set to ${targetVersion.version} (${targetVersion.buildNumber})`);
3535
} catch (error) {
3636
core.setFailed(error.message);
3737
}

0 commit comments

Comments
 (0)