Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add input for custom command in firebase emulators:exec #81

Merged
merged 8 commits into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@
required: false
type: string
default: ''
firebasejsonpath:
description: |
Path to the firebase.json file that is used to boot up the firebase emulator.
Defaults to the root of the project.
required: false
type: string
default: './firebase.json'
googleserviceinfoplistpath:
description: |
Path to the GoogleService-Info.plist file that is replaced using the content found in the secret GOOGLE_SERVICE_INFO_PLIST.
Expand Down Expand Up @@ -374,9 +381,9 @@

if [ -n "${{ inputs.firebaseemulatorimport }}" ]; then
echo "Importing firebase emulator data from ${{ inputs.firebaseemulatorimport }}"
firebase emulators:exec --import=${{ inputs.firebaseemulatorimport }} 'fastlane ${{ inputs.fastlanelane }}'
firebase emulators:exec -c ${{ inputs.firebasejsonpath }} --import=${{ inputs.firebaseemulatorimport }} 'fastlane ${{ inputs.fastlanelane }}'

Check warning on line 384 in .github/workflows/xcodebuild-or-fastlane.yml

View workflow job for this annotation

GitHub Actions / YAML Lint Check

384:151 [line-length] line too long (161 > 150 characters)
else
firebase emulators:exec 'fastlane ${{ inputs.fastlanelane }}'
firebase emulators:exec -c ${{ inputs.firebasejsonpath }} 'fastlane ${{ inputs.fastlanelane }}'
fi
else
fastlane ${{ inputs.fastlanelane }}
Expand Down
Loading