Skip to content

Commit 3fa422c

Browse files
update app store connect requirements
1 parent 3cb122b commit 3fa422c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
fi
5151
echo "VERSION=$version" >> "$GITHUB_ENV"
5252
53-
# if the unity-version is 6000.1.x then set export option to app-store-connect otherwise set it to development
54-
if [[ "${{ matrix.unity-version }}" == "6000.1.x" ]]; then
53+
# Only set export option to app-store-connect if unity-version is 6000.2.x AND xcode-version is 16.4
54+
if [[ "${{ matrix.unity-version }}" == "6000.2.x" && "${{ matrix.xcode-version }}" == "16.4" ]]; then
5555
echo "EXPORT_OPTION=app-store-connect" >> "$GITHUB_ENV"
5656
else
5757
if [[ "${{ matrix.build-target }}" == "StandaloneOSX" ]]; then
@@ -155,7 +155,7 @@ jobs:
155155
app-store-connect-issuer-id: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
156156
team-id: ${{ secrets.APPLE_TEAM_ID }}
157157
export-option: ${{ env.EXPORT_OPTION }}
158-
notarize: ${{ matrix.unity-version != '6000.1.x' }}
158+
notarize: ${{ env.EXPORT_OPTION != 'app-store-connect' }}
159159
archive-type: pkg
160160
test-groups: Beta
161161
developer-id-application-certificate: ${{ secrets.DEVELOPER_ID_APPLICATION_CERT }}

0 commit comments

Comments
 (0)