-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,6 +132,7 @@ jobs: | |
uses: customerio/customerio-android/.github/actions/setup-android@main | ||
|
||
- name: Build and upload Android app via Fastlane | ||
id: android_build | ||
uses: maierj/[email protected] | ||
with: | ||
subdirectory: apps/${{ matrix.sample-app }} | ||
|
@@ -157,6 +158,7 @@ jobs: | |
run: pod install --project-directory=ios | ||
|
||
- name: Build and upload iOS app via Fastlane | ||
id: ios_build | ||
uses: maierj/[email protected] | ||
with: | ||
subdirectory: apps/${{ matrix.sample-app }} | ||
|
@@ -165,6 +167,13 @@ jobs: | |
GOOGLE_CLOUD_MATCH_READONLY_SERVICE_ACCOUNT_B64: ${{ secrets.GOOGLE_CLOUD_MATCH_READONLY_SERVICE_ACCOUNT_B64 }} | ||
FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_CREDS_B64: ${{ secrets.FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_CREDS_B64 }} | ||
|
||
- name: Check build statuses and mark failure | ||
run: | | ||
if [ "${{ steps.android_build.outcome }}" != "success" ] || [ "${{ steps.ios_build.outcome }}" != "success" ]; then | ||
echo "One or more builds failed." | ||
exit 1 | ||
fi | ||
- name: Update sample builds PR comment with build information | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: peter-evans/create-or-update-comment@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters