Skip to content

Commit d4eeeb4

Browse files
unity-xcode-builder@v1.1.2 (#9)
- only validate app when uploading to app store
1 parent 55ad717 commit d4eeeb4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61322,11 +61322,11 @@ const main = async () => {
6132261322
projectRef.xcodeVersion = semver.coerce(xcodeVersionString);
6132361323
projectRef = await (0, xcode_1.ArchiveXcodeProject)(projectRef);
6132461324
projectRef = await (0, xcode_1.ExportXcodeArchive)(projectRef);
61325-
await (0, xcode_1.ValidateApp)(projectRef);
6132661325
const uploadInput = core.getInput('upload') || projectRef.isAppStoreUpload().toString();
6132761326
const upload = projectRef.isAppStoreUpload() && uploadInput === 'true';
6132861327
core.debug(`uploadInput: ${upload}`);
6132961328
if (upload) {
61329+
await (0, xcode_1.ValidateApp)(projectRef);
6133061330
await (0, xcode_1.UploadApp)(projectRef);
6133161331
}
6133261332
}

Diff for: dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unity-xcode-builder",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "A GitHub Action to build, archive, and upload Unity exported xcode projects.",
55
"author": "buildalon",
66
"license": "MIT",

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ const main = async () => {
4646
projectRef.xcodeVersion = semver.coerce(xcodeVersionString);
4747
projectRef = await ArchiveXcodeProject(projectRef);
4848
projectRef = await ExportXcodeArchive(projectRef);
49-
await ValidateApp(projectRef);
5049
const uploadInput = core.getInput('upload') || projectRef.isAppStoreUpload().toString();
5150
const upload = projectRef.isAppStoreUpload() && uploadInput === 'true';
5251
core.debug(`uploadInput: ${upload}`);
5352
if (upload) {
53+
await ValidateApp(projectRef);
5454
await UploadApp(projectRef);
5555
}
5656
} else {

0 commit comments

Comments
 (0)