From e3119b0d0efafdcbd66ce63c783c19582db34e61 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Wed, 24 Sep 2025 19:02:25 -0500 Subject: [PATCH] Fix ios build --- .github/workflows/build-app.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index 2a56110..7fde78d 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -89,7 +89,21 @@ jobs: - name: 🚢 Submit to App Store if: ${{ github.event.inputs.action == 'submit' }} - run: eas submit -p ${{ github.event.inputs.platform }} --profile ${{ github.event.inputs.profile }} --path . + run: | + # Find the build file + if [ "${{ github.event.inputs.platform }}" = "android" ]; then + BUILD_FILE=$(find . -name "build-*.apk" -o -name "build-*.aab" | head -1) + else + BUILD_FILE=$(find . -name "build-*.ipa" -o -name "build-*.app" | head -1) + fi + + if [ -n "$BUILD_FILE" ]; then + echo "Submitting file: $BUILD_FILE" + eas submit -p ${{ github.event.inputs.platform }} --profile ${{ github.event.inputs.profile }} --path "$BUILD_FILE" + else + echo "No build file found to submit" + exit 1 + fi - name: 📤 Upload Build Artifacts if: ${{ github.event.inputs.action == 'file' }}