|
|
@@ -102,26 +102,10 @@ jobs:
|
|
|
|
|
|
- name: Clone Device Tree
|
|
|
run: |
|
|
|
- inputs:
|
|
|
- MANIFEST_BRANCH:
|
|
|
- description: 'Manifest branch'
|
|
|
- required: true
|
|
|
- default: '12.1'
|
|
|
-
|
|
|
- DEVICE_TREE:
|
|
|
- description: 'Device tree Git URL'
|
|
|
- required: true
|
|
|
- default: 'https://github.com/abrohim0786/ofox_device_xiaomi_ares.git'
|
|
|
-
|
|
|
- DEVICE_TREE_BRANCH:
|
|
|
- description: 'Device tree branch'
|
|
|
- required: true
|
|
|
- default: 'TWRP-12.1'
|
|
|
-
|
|
|
- DEVICE_PATH:
|
|
|
- description: 'Path to device tree'
|
|
|
- required: true
|
|
|
- default: 'device/xiaomi/ares'
|
|
|
+ cd ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}
|
|
|
+ git clone https://github.com/abrohim0786/ofox_device_xiaomi_ares.git -b TWRP-12.1 ./device/xiaomi/ares
|
|
|
+ cd device/xiaomi/ares
|
|
|
+ echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
|
|
|
|
|
- name: Check Manifest Branch
|
|
|
uses: haya14busa/action-cond@v1
|