Skip to content

Commit cae142a

Browse files
committed
Revert "Revert this test commit"
This reverts commit 803dd78.
1 parent 803dd78 commit cae142a

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/sample-distribution.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -51,38 +51,38 @@ jobs:
5151
bundle exec pod install
5252
- name: Build and release Testflight QA
5353
working-directory: examples/SampleApp
54-
run: bundle exec fastlane ios deploy_to_testflight_qa deploy:true
54+
run: bundle exec fastlane ios deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop' }};
5555
env:
5656
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
5757
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
5858
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
5959

60-
# build_and_deploy_android_firebase:
61-
# name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
62-
# runs-on: public
63-
# strategy:
64-
# matrix:
65-
# node-version: [24.x]
66-
# steps:
67-
# - name: Use Node.js ${{ matrix.node-version }}
68-
# uses: actions/setup-node@v4
69-
# with:
70-
# node-version: ${{ matrix.node-version }}
71-
# - uses: actions/checkout@v2
72-
# - uses: actions/setup-java@v3
73-
# with:
74-
# distribution: 'zulu'
75-
# java-version: '17'
76-
# check-latest: true
77-
# - name: Setup Android SDK
78-
# uses: amyu/setup-android@v5
60+
build_and_deploy_android_firebase:
61+
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
62+
runs-on: public
63+
strategy:
64+
matrix:
65+
node-version: [24.x]
66+
steps:
67+
- name: Use Node.js ${{ matrix.node-version }}
68+
uses: actions/setup-node@v4
69+
with:
70+
node-version: ${{ matrix.node-version }}
71+
- uses: actions/checkout@v2
72+
- uses: actions/setup-java@v3
73+
with:
74+
distribution: 'zulu'
75+
java-version: '17'
76+
check-latest: true
77+
- name: Setup Android SDK
78+
uses: amyu/setup-android@v5
7979

80-
# - uses: ./.github/actions/ruby-cache
81-
# - name: Install && Build - SDK and Sample App
82-
# uses: ./.github/actions/install-and-build-sdk
83-
# - name: Build and deploy Android Firebase
84-
# working-directory: examples/SampleApp
85-
# run: bundle exec fastlane android firebase_build_and_upload deploy:${{ github.ref == 'refs/heads/develop' }};
86-
# env:
87-
# ANDROID_FIREBASE_APP_ID: ${{ secrets.ANDROID_FIREBASE_APP_ID }}
88-
# FIREBASE_CREDENTIALS_JSON: ${{ secrets.FIREBASE_CREDENTIALS_JSON }}
80+
- uses: ./.github/actions/ruby-cache
81+
- name: Install && Build - SDK and Sample App
82+
uses: ./.github/actions/install-and-build-sdk
83+
- name: Build and deploy Android Firebase
84+
working-directory: examples/SampleApp
85+
run: bundle exec fastlane android firebase_build_and_upload deploy:${{ github.ref == 'refs/heads/develop' }};
86+
env:
87+
ANDROID_FIREBASE_APP_ID: ${{ secrets.ANDROID_FIREBASE_APP_ID }}
88+
FIREBASE_CREDENTIALS_JSON: ${{ secrets.FIREBASE_CREDENTIALS_JSON }}

0 commit comments

Comments
 (0)