1212 - ' examples/SampleApp/**'
1313
1414jobs :
15+ prepare_sdk :
16+ name : Prepare SDK & JS Build
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v3
20+ - uses : actions/setup-node@v4
21+ with :
22+ node-version : 24.x
23+ - uses : ./.github/actions/ruby-cache
24+ - name : Install & build SDK
25+ uses : ./.github/actions/install-and-build-sdk
26+ - name : Upload SDK artifact
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : sdk-build
30+ path : |
31+ - package/**
32+ - examples/SampleApp/**
33+
1534 build_and_deploy_ios_testflight_qa :
1635 name : Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }}
36+ needs : prepare_sdk
1737 runs-on : [macos-15]
1838 strategy :
1939 matrix :
2040 node-version : [24.x]
2141 steps :
42+ - uses : actions/checkout@v4
43+
44+ - uses : actions/download-artifact@v4
45+ with :
46+ name : sdk-build
2247 - name : Connect Bot
2348 uses :
webfactory/[email protected] 2449 with :
2550 ssh-private-key : ${{ secrets.BOT_SSH_PRIVATE_KEY }}
26- - name : Use Node.js ${{ matrix.node-version }}
27- uses : actions/setup-node@v4
28- with :
29- node-version : ${{ matrix.node-version }}
30- - uses : actions/checkout@v3
51+
3152 - uses : maxim-lobanov/setup-xcode@v1
3253 with :
3354 xcode-version : ' 16.4.0' # Update as needed
3455 - uses : ./.github/actions/ruby-cache
35- - name : Install && Build - SDK and Sample App
36- uses : ./.github/actions/install-and-build-sdk
3756 - name : Cache iOS pods
3857 uses : actions/cache@v4
3958 with :
@@ -59,24 +78,25 @@ jobs:
5978
6079 build_and_deploy_android_firebase :
6180 name : Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
81+ needs : prepare_sdk
6282 runs-on : ubuntu-latest
83+ env :
84+ GRADLE_OPTS : ' -Dorg.gradle.daemon=false -Dorg.gradle.caching=false'
85+ FASTLANE_SKIP_UPDATE_CHECK : ' true'
6386 strategy :
6487 matrix :
6588 node-version : [24.x]
6689 steps :
67- - name : Use Node.js ${{ matrix.node-version }}
68- uses : actions/setup-node @v4
90+ - uses : actions/checkout@v3
91+ - uses : actions/download-artifact @v4
6992 with :
70- node-version : ${{ matrix.node-version }}
71- - uses : actions/checkout@v2
93+ name : sdk-build
7294 - uses : actions/setup-java@v3
7395 with :
7496 distribution : ' zulu'
7597 java-version : ' 17'
7698 check-latest : true
7799 - uses : ./.github/actions/ruby-cache
78- - name : Install && Build - SDK and Sample App
79- uses : ./.github/actions/install-and-build-sdk
80100 - name : Build and deploy Android Firebase
81101 working-directory : examples/SampleApp
82102 run : bundle exec fastlane android firebase_build_and_upload deploy:${{ github.ref == 'refs/heads/develop' }};
0 commit comments