Skip to content

Commit

Permalink
Schduling the test runners for JDK 17 and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
indeewari committed Oct 16, 2024
1 parent 92e0894 commit ea8f7aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/product-is-builder-jdk17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -56,15 +56,15 @@ 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 "PR BUILD not successfull. Aborting."
echo "::error::PR BUILD not successfull. Check artifacts for logs."
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
exit 1
fi
echo ""
echo "=========================================================="
echo "Build completed"
echo "=========================================================="
echo ""
echo ""
8 changes: 4 additions & 4 deletions .github/workflows/product-is-builder-jdk21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -56,15 +56,15 @@ 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 "PR BUILD not successfull. Aborting."
echo "::error::PR BUILD not successfull. Check artifacts for logs."
echo "Success Count $PR_BUILD_SUCCESS_COUNT"
exit 1
fi
echo ""
echo "=========================================================="
echo "Build completed"
echo "=========================================================="
echo ""
echo ""

0 comments on commit ea8f7aa

Please sign in to comment.