Skip to content

Commit

Permalink
test action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Feb 20, 2025
1 parent 59ead6e commit c6cb396
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-sample-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,20 @@ jobs:
echo "Build failed for: ${FAILED_BUILDS[*]}"
exit 1
fi
- name: Send Slack Notification for Sample App Builds
if: env.IS_PRIMARY_APP == 'true'
env:
ANDROID_APP_ID: ${{ secrets[format('CUSTOMERIO_{0}_ANDROID_APP_ID', inputs.app_name)] }}
IOS_APP_ID: ${{ secrets[format('CUSTOMERIO_{0}_IOS_APP_ID', inputs.app_name)] }}
uses: customerio/mobile-ci-tools/slack-notify-sample-app@mbl-750-app-slack-notify
with:
status: ${{ job.status }}
firebase_distribution_groups: ${{ env.firebase_distribution_groups }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
firebase_project_id: ${{ secrets.SAMPLE_APPS_FIREBASE_PROJECT_ID }}
repository_name: "React Native"
icon_url: "https://vectorified.com/images/icon-react-native-24.png"
firebase_app_ids: |
Android: ${{ env.ANDROID_APP_ID }}
iOS: ${{ env.IOS_APP_ID }}
3 changes: 0 additions & 3 deletions .github/workflows/build-test-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Publish Test Sample Apps
on:
pull_request: # build sample apps for every commit pushed to an open pull request (including drafts)
push:
branches: [ main, feature/* ]

concurrency: # cancel previous workflow run if one exists.
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -53,8 +52,6 @@ jobs:
# List item is name of directory inside of "Apps" directory for the corresponding app to compile.
- name: "APN"
cio-workspace-name: "Mobile: React Native"
- name: "FCM"
cio-workspace-name: "Mobile: xReact Native FCM workspace"
name: Building sample app ${{ matrix.sample-app.name }}
uses: ./.github/workflows/build-sample-app.yml
with:
Expand Down

0 comments on commit c6cb396

Please sign in to comment.