-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
1a2ca2f
commit 1ce1a75
Showing
2 changed files
with
5 additions
and
15 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
ref: MBL-553-build-sample-app-for-sdk-release | ||
fetch-depth: 0 # fetches all history for all tags and branches | ||
fetch-depth: 0 # Workaround for bug https://github.com/actions/checkout/issues/1471 | ||
|
||
- name: Get latest SDK version | ||
id: latest-sdk-version-step | ||
|
@@ -22,17 +22,12 @@ jobs: | |
- uses: ./.github/actions/setup-android | ||
|
||
# CLI to replace strings in files. The CLI recommends using `cargo install` which is slow. This Action is fast because it downloads pre-built binaries. | ||
# If using sd on macos, "brew install" works great. for Linux, this is the recommended way. | ||
- name: Install sd CLI to use later in the workflow | ||
# uses: kenji-miyake/setup-sd@v1 | ||
uses: levibostian/setup-sd@add-file-extension # Using fork until upstream Action has bug fixed in it. | ||
|
||
- name: Install tools from Gemfile (ruby language) used for building our apps with | ||
- name: Install Ruby used by Fastlane | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true # cache tools to make builds faster in future | ||
bundler-cache: true | ||
|
||
- name: Setup local.properties file for sample app | ||
env: | ||
SDK_VERSION: ${{ steps.latest-sdk-version-step.outputs.LATEST_TAG }} | ||
|
@@ -42,9 +37,6 @@ jobs: | |
echo "siteId=${{ secrets.CUSTOMERIO_JAVA_WORKSPACE_SITE_ID }}" >> "samples/local.properties" | ||
echo "sdkVersion=${{ env.SDK_VERSION }}" >> "samples/local.properties" | ||
- name: Dump GitHub Action metadata because Fastlane uses it. Viewing it here helps debug JSON parsing code in Firebase. | ||
run: cat $GITHUB_EVENT_PATH | ||
|
||
- name: Deploy development build via Fastlane | ||
uses: maierj/[email protected] | ||
with: | ||
|
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