diff --git a/.github/workflows/product-is-builder-jdk17.yml b/.github/workflows/product-is-builder-jdk17.yml index 058a1315d37..c94a139c99d 100644 --- a/.github/workflows/product-is-builder-jdk17.yml +++ b/.github/workflows/product-is-builder-jdk17.yml @@ -3,8 +3,8 @@ name: product-is-builder-jdk17 on: workflow_dispatch: schedule: -# At 00:00 on day-of-month 1 - - cron: '0 0 1 * *' +# Daily at 17:00 UTC (10.30 PM SL time) + - cron: '0 17 * * *' env: @@ -56,8 +56,8 @@ jobs: echo "::warning::$PR_BUILD_RESULT_LOG" PR_BUILD_SUCCESS_COUNT=$(grep -o -i "\[INFO\] BUILD SUCCESS" mvn-build.log | wc -l) - echo "Success Count $PR_BUILD_SUCCESS_COUNT" if [ "$PR_BUILD_SUCCESS_COUNT" != "11" ]; then + echo "Success Count $PR_BUILD_SUCCESS_COUNT" echo "PR BUILD not successfull. Aborting." echo "::error::PR BUILD not successfull. Check artifacts for logs." exit 1 @@ -67,4 +67,4 @@ jobs: echo "==========================================================" echo "Build completed" echo "==========================================================" - echo "" \ No newline at end of file + echo "" diff --git a/.github/workflows/product-is-builder-jdk21.yml b/.github/workflows/product-is-builder-jdk21.yml index c80ef7ca8c7..632f0b71100 100644 --- a/.github/workflows/product-is-builder-jdk21.yml +++ b/.github/workflows/product-is-builder-jdk21.yml @@ -3,8 +3,8 @@ name: product-is-builder-jdk21 on: workflow_dispatch: schedule: -# At 00:00 on day-of-month 1 - - cron: '0 0 1 * *' +# Daily at 23:00 UTC (04.30 AM SL time) + - cron: '0 23 * * *' env: @@ -56,8 +56,8 @@ jobs: echo "::warning::$PR_BUILD_RESULT_LOG" PR_BUILD_SUCCESS_COUNT=$(grep -o -i "\[INFO\] BUILD SUCCESS" mvn-build.log | wc -l) - echo "Success Count $PR_BUILD_SUCCESS_COUNT" if [ "$PR_BUILD_SUCCESS_COUNT" != "11" ]; then + echo "Success Count $PR_BUILD_SUCCESS_COUNT" echo "PR BUILD not successfull. Aborting." echo "::error::PR BUILD not successfull. Check artifacts for logs." exit 1 @@ -67,4 +67,4 @@ jobs: echo "==========================================================" echo "Build completed" echo "==========================================================" - echo "" \ No newline at end of file + echo ""