yml: Removed conditional statement for manifest branch.
* Since OrangeFox Recovery already stated that branch 10 and below are considered obsolete (applied in this commit d82ca3e16a), 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 <carlodandan.personal@proton.me>
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user