From 1d5302ac34ccb933e5fb9ea80d6704cd0867e18a Mon Sep 17 00:00:00 2001 From: ragebreaker <125530737+mlm-games@users.noreply.github.com> Date: Fri, 16 Aug 2024 06:04:44 +0530 Subject: [PATCH] Update PitchBlack-PBRP.yml --- .github/workflows/PitchBlack-PBRP.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PitchBlack-PBRP.yml b/.github/workflows/PitchBlack-PBRP.yml index 723210f..c671103 100644 --- a/.github/workflows/PitchBlack-PBRP.yml +++ b/.github/workflows/PitchBlack-PBRP.yml @@ -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