From eb19c41179e4ff013b3eb52b9c46d97ba5eb6c3e Mon Sep 17 00:00:00 2001 From: ragebreaker <125530737+mlm-games@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:26:48 +0530 Subject: [PATCH] Removed checking for releases Desc as bookmark in case needed later --- .github/workflows/OrangeFox-OFRP.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/OrangeFox-OFRP.yml b/.github/workflows/OrangeFox-OFRP.yml index 4386662..b4e611c 100644 --- a/.github/workflows/OrangeFox-OFRP.yml +++ b/.github/workflows/OrangeFox-OFRP.yml @@ -107,26 +107,7 @@ jobs: run: | echo "BUILD_DATE=$(TZ=UTC date +%Y%m%d)" >> $GITHUB_ENV - - name: Check if the recovery exists # It makes the recovery.img and renames it to Orangefox*.img but the OG should also work - if: always() - run: | - img_file=$(find "${{ env.OUT_DIR }}" -name "${{ inputs.BUILD_TARGET }}*.img" -print -quit) - zip_file=$(find "${{ env.OUT_DIR }}" -name "Orangefox*.zip" -print -quit) - if [ -f "$img_file" ]; then - echo "CHECK_IMG_IS_OK=true" >> $GITHUB_ENV - echo "MD5_IMG=$(md5sum "$img_file" | cut -d ' ' -f 1)" >> $GITHUB_ENV - else - echo "Recovery out directory is empty." - fi - if [ -f "$zip_file" ]; then - echo "CHECK_ZIP_IS_OK=true" >> $GITHUB_ENV - echo "MD5_ZIP=$(md5sum "$zip_file" | cut -d ' ' -f 1)" >> $GITHUB_ENV - else - echo "::warning::The zip file isn't present but make sure the image is from only after 100% completion in build stage" - fi - - name: Upload to Release - if: env.CHECK_IMG_IS_OK == 'true' && env.CHECK_ZIP_IS_OK == 'true' uses: softprops/action-gh-release@master with: files: |