Skip to content

Commit

Permalink
Add common tree support
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Falconer <[email protected]>
  • Loading branch information
SavedByLight authored Feb 6, 2025
1 parent cb7e1b2 commit 2675684
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/Recovery-Builder-TWRP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
description: 'Specify your Device Path' # As is, just like your DEVICE_PATH in your BoardConfig.mk
required: true
default: 'device/realme/macedonia'
COMMON_TREE_URL:
description: 'COMMON_TREE_URL (if no common tree, leave blank)'
required: false
COMMON_PATH:
description: 'COMMON_PATH (if no common tree, leave blank)'
required: false
DEVICE_NAME:
description: 'Specify your Device Codename' # As is, just like your PRODUCT_DEVICE in your device tree.
required: true
Expand Down Expand Up @@ -120,6 +126,14 @@ jobs:
cd ${{ github.event.inputs.DEVICE_PATH }}
echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Clone common tree
if: |
github.event.inputs.COMMON_TREE_URL != null
&& github.event.inputs.COMMON_PATH != null
run: |
git clone ${{ github.event.inputs.COMMON_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.COMMON_PATH }}
working-directory: ${{ steps.pwd.outputs.workspace-folder }}

- name: Check Build Makefile
run: |
cd android-recovery
Expand Down

0 comments on commit 2675684

Please sign in to comment.