From eb6257251928813d6345a701a4769ec7a0ae0144 Mon Sep 17 00:00:00 2001 From: Carlo Dandan Date: Tue, 9 Jan 2024 05:33:13 +0000 Subject: [PATCH] yml: Removed conditional statement for manifest branch. * Since OrangeFox Recovery already stated that branch 10 and below are considered obsolete (applied in this commit d82ca3e16a9348ac4ca0481436a8ec085558ec92), manifest checking should also be removed in this yaml configuration, since lunch and make command are just the same for both fox_11.0 and fox_12.1 branch. Signed-off-by: Carlo Dandan --- .github/workflows/OrangeFox-Compile.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/OrangeFox-Compile.yml b/.github/workflows/OrangeFox-Compile.yml index c1d1386..2a2b10f 100644 --- a/.github/workflows/OrangeFox-Compile.yml +++ b/.github/workflows/OrangeFox-Compile.yml @@ -89,14 +89,6 @@ jobs: cd ${{ github.event.inputs.DEVICE_PATH }} echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV - - name: Check Manifest Branch - uses: haya14busa/action-cond@v1 - id: fox_branch - with: - cond: ${{ github.event.inputs.MANIFEST_BRANCH == '11.0' || github.event.inputs.MANIFEST_BRANCH == '12.1' }} - if_true: lunch twrp_${{ github.event.inputs.DEVICE_NAME }}-eng && make clean && mka adbd ${{ github.event.inputs.BUILD_TARGET }}image - if_false: lunch omni_${{ github.event.inputs.DEVICE_NAME }}-eng && make clean && mka ${{ github.event.inputs.BUILD_TARGET }}image - - name: Building OrangeFox run: | cd ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }} @@ -104,7 +96,7 @@ jobs: source build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true set -e - ${{ steps.fox_branch.outputs.value }} + lunch twrp_${{ github.event.inputs.DEVICE_NAME }}-eng && make clean && mka adbd ${{ github.event.inputs.BUILD_TARGET }}image - name: Set Build Date # For Build Date Info, currently using Asia/Manila run: |