Skip to content

Commit

Permalink
Improve action output - print Xcode BuildNumber (#11)
Browse files Browse the repository at this point in the history
* add Xcode buildNumber to output

* beutify output
  • Loading branch information
maxim-lobanov authored Oct 17, 2020
1 parent dfa1339 commit 39c72be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ const run = () => {
...selector.getAllVersions().map(ver => `- ${ver.version} (${ver.path})`)
].join(os_1.EOL));
}
core.debug(`Xcode ${targetVersion.version} (${targetVersion.path}) will be set`);
core.debug(`Xcode ${targetVersion.version} (${targetVersion.buildNumber}) (${targetVersion.path}) will be set`);
selector.setVersion(targetVersion);
core.info(`Xcode is set to '${targetVersion.version}'`);
core.info(`Xcode is set to ${targetVersion.version} (${targetVersion.buildNumber})`);
}
catch (error) {
core.setFailed(error.message);
Expand Down
4 changes: 2 additions & 2 deletions src/setup-xcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ const run = (): void => {
);
}

core.debug(`Xcode ${targetVersion.version} (${targetVersion.path}) will be set`);
core.debug(`Xcode ${targetVersion.version} (${targetVersion.buildNumber}) (${targetVersion.path}) will be set`);
selector.setVersion(targetVersion);
core.info(`Xcode is set to '${targetVersion.version}'`);
core.info(`Xcode is set to ${targetVersion.version} (${targetVersion.buildNumber})`);
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 39c72be

Please sign in to comment.