Update PitchBlack-PBRP.yml to pb_device.mk support
This commit is contained in:
parent
3c48a52cb0
commit
260b0fbc0e
2
.github/workflows/PitchBlack-PBRP.yml
vendored
2
.github/workflows/PitchBlack-PBRP.yml
vendored
@ -127,6 +127,8 @@ jobs:
|
|||||||
echo "DEVICE_MAKEFILE=twrp_${{ github.event.inputs.DEVICE_NAME }}" >> $GITHUB_ENV
|
echo "DEVICE_MAKEFILE=twrp_${{ github.event.inputs.DEVICE_NAME }}" >> $GITHUB_ENV
|
||||||
elif [ -f ${{ github.event.inputs.DEVICE_PATH }}/omni_${{ github.event.inputs.DEVICE_NAME}}.mk ]; then
|
elif [ -f ${{ github.event.inputs.DEVICE_PATH }}/omni_${{ github.event.inputs.DEVICE_NAME}}.mk ]; then
|
||||||
echo "DEVICE_MAKEFILE=omni_${{ github.event.inputs.DEVICE_NAME }}" >> $GITHUB_ENV
|
echo "DEVICE_MAKEFILE=omni_${{ github.event.inputs.DEVICE_NAME }}" >> $GITHUB_ENV
|
||||||
|
elif [ -f ${{ github.event.inputs.DEVICE_PATH }}/pb_${{ github.event.inputs.DEVICE_NAME}}.mk ]; then
|
||||||
|
echo "DEVICE_MAKEFILE=pb_${{ github.event.inputs.DEVICE_NAME }}" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "No recovery makefile file found!"
|
echo "No recovery makefile file found!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user