From dd4d679b57a3d146656e5b50d146cfcd9795e6a9 Mon Sep 17 00:00:00 2001 From: Sanlorng Date: Sun, 3 Nov 2024 19:17:59 +0800 Subject: [PATCH] Update test_ios_build.yml --- .github/workflows/test_ios_build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test_ios_build.yml b/.github/workflows/test_ios_build.yml index d62a6ac5..be60f748 100644 --- a/.github/workflows/test_ios_build.yml +++ b/.github/workflows/test_ios_build.yml @@ -70,6 +70,7 @@ jobs: - name: Build Gallery for iOS if: ${{ matrix.iOS }} run: | + ./gradlew :gallery:embedAndSignAppleFrameworkForXcode xcodebuild -workspace gallery/iosApp/iosApp.xcodeproj/project.xcworkspace -scheme iosApp -configuration Release -derivedDataPath gallery/iosApp/build CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO - name: Updaload iOS Artifact @@ -128,3 +129,10 @@ jobs: with: name: Gallery-${{ matrix.type }}-${{ github.run_id }} path: ${{github.workspace}}/gallery/build/compose/binaries/main-release/${{ matrix.desktop }}/*.${{ matrix.desktop }} + + - name: Upload Failed Project + if: failure() + uses: actions/upload-artifact@v4 + with: + name: Project-${{ matrix.type }} + path: ${{ github.workspace }}