mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 11:04:14 +00:00
Include actual iOS IPA
Added debugging information to list downloaded artifacts and check for mobile and iOS build directories. Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -274,6 +274,13 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}/release-assets
|
||||
|
||||
echo "=== Debugging: List downloaded artifacts ==="
|
||||
echo "Mobile artifacts:"
|
||||
ls -laR "${{ runner.temp }}/mobile-artifacts" || echo "No mobile-artifacts directory"
|
||||
echo "iOS build:"
|
||||
ls -laR "${{ runner.temp }}/ios-build" || echo "No ios-build directory"
|
||||
echo "==========================================="
|
||||
|
||||
# Copy debug APK if it exists
|
||||
if [ -f "${{ runner.temp }}/mobile-artifacts/app-debug.apk" ]; then
|
||||
cp "${{ runner.temp }}/mobile-artifacts/app-debug.apk" "${{ runner.temp }}/release-assets/sure-${{ github.ref_name }}-debug.apk"
|
||||
@@ -287,8 +294,9 @@ jobs:
|
||||
fi
|
||||
|
||||
# Create iOS app archive (zip the .app bundle)
|
||||
if [ -d "${{ runner.temp }}/ios-build/Runner.app" ]; then
|
||||
cd "${{ runner.temp }}/ios-build"
|
||||
# Path preserves directory structure from artifact upload
|
||||
if [ -d "${{ runner.temp }}/ios-build/ios/iphoneos/Runner.app" ]; then
|
||||
cd "${{ runner.temp }}/ios-build/ios/iphoneos"
|
||||
zip -r "${{ runner.temp }}/release-assets/sure-${{ github.ref_name }}-ios-unsigned.zip" Runner.app
|
||||
echo "✓ iOS build archive prepared"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user