Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Include actual iOS IPA

Juan José Mata14c169e6b96d
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 17b7a640fd..66ceff8810 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -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