Skip to content

Commit

Permalink
Update OrangeFox-Compile.yml
Browse files Browse the repository at this point in the history
Signed-off-by: cachiusa <[email protected]>
  • Loading branch information
cachiusa authored Aug 19, 2024
1 parent 79f1f9d commit 3ad788d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/OrangeFox-Compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
git clone ${{ github.event.inputs.DEVICE_TREE }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
cd ${{ github.event.inputs.DEVICE_PATH }}
echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV
git clone https://github.com/dereference23/kernel_xiaomi_sm6375 kernel/xiaomi/sm6375 --depth 1
- name: Building OrangeFox
run: |
Expand All @@ -109,12 +110,15 @@ jobs:
sed -i 's/return sandboxConfig\.working/return false/g' build/soong/ui/build/sandbox_linux.go
fi
if [[ "${{ github.event.inputs.BUILD_TARGET }}" == "boot" ]]; then
export TW_VNDR_BOOT=0
#export TW_VNDR_BOOT=0
fi
source build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
set -e
lunch twrp_${{ github.event.inputs.DEVICE_NAME }}-eng && make clean && mka adbd ${{ github.event.inputs.BUILD_TARGET }}image
lunch twrp_${{ github.event.inputs.DEVICE_NAME }}-eng && mka adbd vendorbootimage
export TW_VNDR_BOOT=0
source build/envsetup.sh
lunch twrp_veux-eng && mka adbd bootimage
- name: Set Release Properties
run: |
Expand Down

0 comments on commit 3ad788d

Please sign in to comment.