nightly-no-build-cache.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: Nightly (--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. build:
  9. uses: ./.github/workflows/reusable-build.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. testLatestDeps:
  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 intentionally not included in the nightly-no-cache build because
  33. # it doesn't use gradle cache anyways and so is already covered by the normal nightly build
  34. examples:
  35. uses: ./.github/workflows/reusable-examples.yml
  36. with:
  37. no-build-cache: true
  38. # markdown-link-check is intentionally not included in the nightly-no-cache build because
  39. # it doesn't use gradle cache anyways and so is already covered by the normal nightly build
  40. issue:
  41. name: Open issue on failure
  42. needs: [ build, test, testLatestDeps, smoke-test, examples ]
  43. if: failure()
  44. uses: ./.github/workflows/reusable-create-issue-for-failure.yml