Skip to content

Commit 759baff

Browse files
Update gptdriverscript.yml
1 parent 6cb0f16 commit 759baff

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/gptdriverscript.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,14 @@ jobs:
135135
<false/>
136136
</dict>
137137
</plist>
138-
EOF_PLIST # Corrected indentation for this EOF_PLIST
138+
EOF_PLIST # Corrected indentation for this EOF_PLIST, ensure it's exact: 10 spaces from left margin.
139+
139140
echo "Exporting IPA to: $IPA_OUTPUT_DIR"
140141
xcodebuild -exportArchive \
141142
-archivePath "${{ env.ARCHIVE_PATH }}" \
142143
-exportPath "$IPA_OUTPUT_DIR" \
143-
-exportOptionsPlist "$EXPORT_OPTIONS_PLIST_PATH"
144+
-exportOptionsPlist "$EXPORT_OPTIONS_PLIST_PATH" \
145+
| xcpretty || true # xcpretty for cleaner logs
144146

145147
# Find the generated IPA file dynamically, as its exact name might vary
146148
GENERATED_IPA=$(find "$IPA_OUTPUT_DIR" -name "*.ipa" -print -quit)
@@ -154,7 +156,7 @@ EOF_PLIST # Corrected indentation for this EOF_PLIST
154156
echo "--- Contents of IPA Output Directory ---"
155157
ls -R "$IPA_OUTPUT_DIR" # Corrected variable name from $IPA_OUTPUT_OUTPUT_DIR to $IPA_OUTPUT_DIR
156158
echo "----------------------------------------"
157-
working-directory: ./ios-app-repo # This step also runs from the app's checkout root.
159+
working-directory: ./ios-app-repo # This must be indented exactly 6 spaces, aligned with 'name:' and 'run:' for this step.
158160

159161
# --- Step 8: Echo the location of the generated .ipa file ---
160162
- name: Echo .ipa file location

0 commit comments

Comments
 (0)