diff --git a/.github/workflows/built_twrp.yml b/.github/workflows/built_twrp.yml index a772c78..2c1b8f9 100644 --- a/.github/workflows/built_twrp.yml +++ b/.github/workflows/built_twrp.yml @@ -15,6 +15,7 @@ on: - golf - nashc - cap_sprout + - CK8n jobs: build: @@ -115,6 +116,14 @@ jobs: echo "DEVICE_TARGET=recoveryimage" >> $GITHUB_ENV echo "DEVICE_BUILD=recovery.img" >> $GITHUB_ENV fi + if [ "${{ inputs.DEVICE_NAME }}" == "CK8n" ]; then + echo "DEVICE_TREE=https://github.com/cdpcrp/custom_recovery_tree_tecno_CK8n" >> $GITHUB_ENV + echo "DEVICE_BRANCH=twrp-12.1" >> $GITHUB_ENV + echo "DEVICE_LUNCH=twrp_CK8n-eng" >> $GITHUB_ENV + echo "DEVICE_PATH=device/tecno/CK8n" >> $GITHUB_ENV + echo "DEVICE_TARGET=bootimage" >> $GITHUB_ENV + echo "DEVICE_BUILD=boot.img" >> $GITHUB_ENV + fi - name: Clone Device Tree run: |