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-
53concurrency :
64 group : sample-distribution-${{ github.ref }}
75 cancel-in-progress : true
1513
1614jobs :
1715 build_and_deploy_ios_testflight_qa :
18- name : Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/v6.0.0 ' }}
16+ name : Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop ' }}
1917 runs-on : [macos-14]
2018 steps :
2119 - name : Connect Bot
@@ -40,14 +38,14 @@ jobs:
4038 bundle exec pod install
4139 - name : Build and release Testflight QA
4240 working-directory : examples/SampleApp
43- run : bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/v6.0.0 ' }};
41+ run : bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop ' }};
4442 env :
4543 MATCH_PASSWORD : ${{ secrets.MATCH_PASSWORD }}
4644 MATCH_GIT_BASIC_AUTHORIZATION : ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
4745 APPSTORE_API_KEY : ${{ secrets.APPSTORE_API_KEY }}
4846
4947 build_and_deploy_android_s3 :
50- name : Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/v6.0.0 ' }}
48+ name : Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop ' }}
5149 runs-on : ubuntu-latest
5250 steps :
5351 - uses : actions/checkout@v2
@@ -68,13 +66,13 @@ jobs:
6866 rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease
6967 - name : Configure AWS credentials
7068 uses : aws-actions/configure-aws-credentials@v1
71- if : ${{ github.ref == 'refs/heads/v6.0.0 ' }}
69+ if : ${{ github.ref == 'refs/heads/develop ' }}
7270 with :
7371 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
7472 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7573 aws-region : us-east-1
7674 - name : Upload APK
77- if : ${{ github.ref == 'refs/heads/v6.0.0 ' }}
75+ if : ${{ github.ref == 'refs/heads/develop ' }}
7876 # https://getstream.io/downloads/rn-sample-app.apk
7977 run : |
8078 cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk
0 commit comments