build-daily-no-build-cache.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. name: Build (daily, --no-build-cache)
  2. on:
  3. schedule:
  4. # strange schedule to reduce the risk of DDOS GitHub infra
  5. - cron: "48 4 * * *"
  6. workflow_dispatch:
  7. jobs:
  8. assemble:
  9. uses: ./.github/workflows/reusable-assemble.yml
  10. with:
  11. no-build-cache: true
  12. secrets:
  13. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  14. test:
  15. uses: ./.github/workflows/reusable-test.yml
  16. with:
  17. no-build-cache: true
  18. secrets:
  19. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  20. test-latest-deps:
  21. uses: ./.github/workflows/reusable-test-latest-deps.yml
  22. with:
  23. no-build-cache: true
  24. secrets:
  25. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  26. smoke-test:
  27. uses: ./.github/workflows/reusable-smoke-test.yml
  28. with:
  29. no-build-cache: true
  30. secrets:
  31. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  32. # muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
  33. # by the normal daily build
  34. gradle-plugins:
  35. uses: ./.github/workflows/reusable-gradle-plugins.yml
  36. with:
  37. no-build-cache: true
  38. examples:
  39. uses: ./.github/workflows/reusable-examples.yml
  40. with:
  41. no-build-cache: true
  42. # markdown-link-check and misspell-check are not included here because they don't use gradle cache
  43. # anyway and so are already covered by the normal daily build
  44. open-issue-on-failure:
  45. needs:
  46. - assemble
  47. - test
  48. - test-latest-deps
  49. - smoke-test
  50. - gradle-plugins
  51. - examples
  52. if: failure()
  53. uses: ./.github/workflows/reusable-create-issue-for-failure.yml