diff --git a/shared-modules/app-android/src/main/play/listings/en-US/graphics/feature-graphic/MT1.png.MT.sh b/shared-modules/app-android/src/main/play/listings/en-US/graphics/feature-graphic/MT1.png.MT.sh index e1d8def8..46605781 100755 --- a/shared-modules/app-android/src/main/play/listings/en-US/graphics/feature-graphic/MT1.png.MT.sh +++ b/shared-modules/app-android/src/main/play/listings/en-US/graphics/feature-graphic/MT1.png.MT.sh @@ -28,8 +28,6 @@ if [ -f "${FILE_1_PNG}" ]; then exit 0; # compat w/ manually created file else echo ">> File '$FILE_1_PNG' already exist: overriding image... (MT_GENERATE_IMAGES=$MT_GENERATE_IMAGES)"; - rm -f "${FILE_1_PNG}"; - checkResult $?; fi fi diff --git a/shared-modules/app-android/src/main/play/listings/en-US/graphics/icon/MT1.png.MT.sh b/shared-modules/app-android/src/main/play/listings/en-US/graphics/icon/MT1.png.MT.sh index 11056c7b..bc83807e 100755 --- a/shared-modules/app-android/src/main/play/listings/en-US/graphics/icon/MT1.png.MT.sh +++ b/shared-modules/app-android/src/main/play/listings/en-US/graphics/icon/MT1.png.MT.sh @@ -28,8 +28,6 @@ if [ -f "${FILE_1_PNG}" ]; then exit 0; # compat w/ manually created file else echo ">> File '$FILE_1_PNG' already exist: overriding image... (MT_GENERATE_IMAGES=$MT_GENERATE_IMAGES)"; - rm -f "${FILE_1_PNG}"; - checkResult $?; fi fi diff --git a/shared-modules/app-android/src/main/res/MTmipmap-MTSTAR/MTmodule_app_icon.MTSTAR.MT.sh b/shared-modules/app-android/src/main/res/MTmipmap-MTSTAR/MTmodule_app_icon.MTSTAR.MT.sh index 9da9f829..7ad2433e 100755 --- a/shared-modules/app-android/src/main/res/MTmipmap-MTSTAR/MTmodule_app_icon.MTSTAR.MT.sh +++ b/shared-modules/app-android/src/main/res/MTmipmap-MTSTAR/MTmodule_app_icon.MTSTAR.MT.sh @@ -125,8 +125,6 @@ for DENSITY in mdpi hdpi xhdpi xxhdpi xxxhdpi; do exit 0; # compat w/ manually created file else echo ">> File '$FILE_PNG' already exist: overriding image... (MT_GENERATE_IMAGES=$MT_GENERATE_IMAGES)"; - rm -f "${FILE_PNG}"; - checkResult $?; fi fi done diff --git a/shared-overwrite/.github/workflows/mt-sync-code-data.yml b/shared-overwrite/.github/workflows/mt-sync-code-data.yml index 01973c5b..d7fe8f82 100644 --- a/shared-overwrite/.github/workflows/mt-sync-code-data.yml +++ b/shared-overwrite/.github/workflows/mt-sync-code-data.yml @@ -205,14 +205,16 @@ jobs: # ---------- - name: MT generate images if required + id: mt-image-gen if: ${{ env.MT_IS_MAIN_REPO != 'true' && steps.mt-check-image-gen-required.outcome == 'success' }} + continue-on-error: true # nice to have run: | ./commons/code_setup.sh; env: MT_GENERATE_IMAGES: true - name: MT commit image change (if added/updated) - if: ${{ env.MT_IS_MAIN_REPO != 'true' }} + if: ${{ steps.mt-image-gen.outcome == 'success' && env.MT_IS_MAIN_REPO != 'true' }} run: | git add -v -A -- ':(glob)**/*.png' if git diff --staged --quiet; then