add dotlottie-web patch fixing cors policy issue #2962
This file contains hidden or 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
name: Remote Build Android | |
on: | |
workflow_dispatch: | |
inputs: | |
mobile_expensify_pr: | |
description: 'Mobile-Expensify PR number to use for hybrid build' | |
required: false | |
type: string | |
push: | |
branches-ignore: [staging, production, cherry-pick-*] | |
paths-ignore: ['docs/**', 'contributingGuides/**', 'help/**', '.github/**', 'scripts/**', 'tests/**'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build: | |
runs-on: ${{ github.repository_owner == 'Expensify' && 'ubuntu-latest-xl' || 'ubuntu-latest' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- variant: 'developmentDebug' | |
is_hybrid_build: false | |
- variant: 'Debug' | |
is_hybrid_build: true | |
steps: | |
- name: Checkout | |
# v4 | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
with: | |
submodules: ${{ matrix.is_hybrid_build || false }} | |
token: ${{ secrets.OS_BOTIFY_TOKEN }} | |
- name: Setup Node | |
uses: ./.github/actions/composite/setupNode | |
with: | |
IS_HYBRID_BUILD: ${{ matrix.is_hybrid_build && 'true' || 'false' }} | |
- name: Checkout specific Mobile-Expensify PR | |
if: ${{ matrix.is_hybrid_build && github.event.inputs.mobile_expensify_pr }} | |
run: | | |
cd Mobile-Expensify | |
git fetch origin pull/${{ github.event.inputs.mobile_expensify_pr }}/head:pr-${{ github.event.inputs.mobile_expensify_pr }} | |
git checkout pr-${{ github.event.inputs.mobile_expensify_pr }} | |
echo "Checked out Mobile-Expensify PR #${{ github.event.inputs.mobile_expensify_pr }}" | |
- name: RNEF Remote Build - Android | |
# rnef v2 | |
uses: callstackincubator/android@d9a81f860e436ff2971323990244e32830dcabd1 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
IS_HYBRID_APP: ${{ matrix.is_hybrid_build }} | |
with: | |
variant: ${{ matrix.variant }} | |
rnef-build-extra-params: '--extra-params -PreactNativeArchitectures=arm64-v8a,x86_64' | |
comment-bot: false |