Skip to content

Merge pull request #2408 from CruGlobal/GT-2495-temp-hide-global-acti… #26

Merge pull request #2408 from CruGlobal/GT-2495-temp-hide-global-acti…

Merge pull request #2408 from CruGlobal/GT-2495-temp-hide-global-acti… #26

Workflow file for this run

name: Distribute To Firebase
# Will only distribute manually for now. ~Levi
# on:
# push:
# branches: [ master ]
# Allows you to run this workflow manually from the Actions tab

Check failure on line 8 in .github/workflows/firebase.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/firebase.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
distribute_to_firebase:
runs-on: macos-15
env:
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Pod Install
uses: ./.github/actions/pod-install
- name: Add Firebase Service Account Key
env:
FIREBASE_SERVICE_ACCOUNT_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}
run: echo $FIREBASE_SERVICE_ACCOUNT_KEY > firebase_service_account_key.json
- name: Import App Store Connect API Key
env:
APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }}
run: echo $APP_STORE_CONNECT_API_JSON_PAYLOAD > fastlane/AppleAppStoreApi.json
- name: Increment Xcode Project Build Number
run: bundle exec fastlane cru_shared_lane_increment_xcode_project_build_number_from_latest_firebase_distribution firebase_googleservice_info_plist_path:"godtools/GoogleService-Info-Debug.plist" firebase_service_credentials_file:"firebase_service_account_key.json"
- name: Build And Deploy For Firebase Distribution
env:
MATCH_GIT_BASIC_AUTHORIZATION_PAT: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION_PAT }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
run: bundle exec fastlane cru_shared_lane_build_and_deploy_for_testflight_release is_running_in_ci:true gym_destination:generic/platform=iOS distribute_to_firebase:true distribute_to_testflight:false firebase_googleservice_info_plist_path:"godtools/GoogleService-Info-Debug.plist" firebase_groups:"ios-testers" firebase_service_credentials_file:"firebase_service_account_key.json" gym_configuration:"Debug" gym_scheme:"GodTools-Staging" gym_bundle_identifier:"org.cru.godtools.beta" gym_provisioning_profile:"match Development org.cru.godtools.beta" gym_export_method:"development" code_signing_app_bundle_ids:"org.cru.godtools.beta" code_signing_provisioning_profile_names:"match Development org.cru.godtools.beta" match_type:"development"
- name: Archive Fastlane Gym Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: fastlane-gym-logs
path: "/Users/runner/Library/Logs/gym/godtools-*/**"