Update PitchBlack-PBRP.yml

This commit is contained in:
ragebreaker 2024-08-16 06:04:44 +05:30 committed by GitHub
parent 7444c8f742
commit 1d5302ac34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,6 +158,7 @@ jobs:
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
- name: Check if Recovery Exist
if: always()
run: |
if [ -f out/target/product/${{ env.DEVICE_NAME }}/OrangeFox*.img ]; then
echo "CHECK_IMG_IS_OK=true" >> $GITHUB_ENV
@ -169,7 +170,7 @@ jobs:
echo "CHECK_ZIP_IS_OK=true" >> $GITHUB_ENV
echo "MD5_ZIP=$(md5sum out/target/product/${{ github.event.inputs.DEVICE_NAME }}/pbrp*.zip | cut -d ' ' -f 1)" >> $GITHUB_ENV
else
echo "Recovery out directory is empty."
echo "::warning::The zip file isn't present but make sure the image is from only after 100% completion in build stage (or pb_build.sh doesnt exist error is shown)"
fi
- name: Generate Build Statistics