build-daily.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: Build (daily)
  2. on:
  3. schedule:
  4. # daily at 3:24 UTC
  5. - cron: "24 3 * * *"
  6. workflow_dispatch:
  7. jobs:
  8. common:
  9. uses: ./.github/workflows/build-common.yml
  10. secrets:
  11. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  12. test-latest-deps:
  13. uses: ./.github/workflows/reusable-test-latest-deps.yml
  14. secrets:
  15. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  16. muzzle:
  17. uses: ./.github/workflows/reusable-muzzle.yml
  18. shell-script-check:
  19. uses: ./.github/workflows/reusable-shell-script-check.yml
  20. markdown-link-check:
  21. uses: ./.github/workflows/reusable-markdown-link-check.yml
  22. markdown-lint-check:
  23. uses: ./.github/workflows/reusable-markdown-lint-check.yml
  24. misspell-check:
  25. uses: ./.github/workflows/reusable-misspell-check.yml
  26. workflow-notification:
  27. needs:
  28. - common
  29. - test-latest-deps
  30. - muzzle
  31. - markdown-link-check
  32. - misspell-check
  33. if: always()
  34. uses: ./.github/workflows/reusable-workflow-notification.yml
  35. with:
  36. success: >-
  37. ${{
  38. needs.common.result == 'success' &&
  39. needs.test-latest-deps.result == 'success' &&
  40. needs.muzzle.result == 'success' &&
  41. needs.markdown-link-check.result == 'success' &&
  42. needs.misspell-check.result == 'success'
  43. }}