-
Notifications
You must be signed in to change notification settings - Fork 13
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
3 changed files
with
30 additions
and
20 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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
name: Build 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 }} | ||
|
@@ -59,7 +57,7 @@ jobs: | |
# List all sample apps you want to have compiled. | ||
# List item is name of directory inside of "Apps" directory for the corresponding app to compile. | ||
- "APN" | ||
- "FCM" | ||
# - "FCM" | ||
defaults: | ||
run: | ||
working-directory: apps/${{ matrix.sample-app }} | ||
|
@@ -184,15 +182,15 @@ jobs: | |
with: | ||
xcode-version: ${{ env.XCODE_VERSION }} | ||
|
||
- name: Build and upload iOS app via Fastlane | ||
id: ios_build | ||
uses: maierj/[email protected] | ||
with: | ||
subdirectory: Apps/${{ matrix.sample-app }} | ||
lane: "ios build" | ||
env: | ||
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: Build and upload iOS app via Fastlane | ||
# id: ios_build | ||
# uses: maierj/[email protected] | ||
# with: | ||
# subdirectory: Apps/${{ matrix.sample-app }} | ||
# lane: "ios build" | ||
# env: | ||
# 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: | | ||
|
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
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