11name : sample-distribution
22
3+ # # TODO: Make sure to revert the changes here when moving this to main. We want them right now to be able to have the SampleApp live with V6.
4+
35concurrency :
46 group : sample-distribution-${{ github.ref }}
57 cancel-in-progress : true
1315
1416jobs :
1517 build_and_deploy_ios_testflight_qa :
16- name : Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop ' }}
18+ name : Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/v6.0.0 ' }}
1719 runs-on : [macos-14]
1820 steps :
1921 - name : Connect Bot
@@ -33,17 +35,19 @@ jobs:
3335 ${{ runner.os }}-pods-
3436 - name : iOS Pods setup
3537 working-directory : examples/SampleApp/ios
36- run : bundle exec pod install
38+ run : |
39+ pod update hermes-engine --no-repo-update
40+ bundle exec pod install
3741 - name : Build and release Testflight QA
3842 working-directory : examples/SampleApp
39- run : bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop ' }};
43+ run : bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/v6.0.0 ' }};
4044 env :
4145 MATCH_PASSWORD : ${{ secrets.MATCH_PASSWORD }}
4246 MATCH_GIT_BASIC_AUTHORIZATION : ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
4347 APPSTORE_API_KEY : ${{ secrets.APPSTORE_API_KEY }}
4448
4549 build_and_deploy_android_s3 :
46- name : Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop ' }}
50+ name : Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/v6.0.0 ' }}
4751 runs-on : ubuntu-latest
4852 steps :
4953 - uses : actions/checkout@v2
@@ -64,13 +68,13 @@ jobs:
6468 rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease
6569 - name : Configure AWS credentials
6670 uses : aws-actions/configure-aws-credentials@v1
67- if : ${{ github.ref == 'refs/heads/develop ' }}
71+ if : ${{ github.ref == 'refs/heads/v6.0.0 ' }}
6872 with :
6973 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
7074 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7175 aws-region : us-east-1
7276 - name : Upload APK
73- if : ${{ github.ref == 'refs/heads/develop ' }}
77+ if : ${{ github.ref == 'refs/heads/v6.0.0 ' }}
7478 # https://getstream.io/downloads/rn-sample-app.apk
7579 run : |
7680 cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk
0 commit comments