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

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: Build (daily --no-build-cache)
  2. on:
  3. schedule:
  4. # daily at 4:48 UTC
  5. - cron: "48 4 * * *"
  6. workflow_dispatch:
  7. jobs:
  8. common:
  9. uses: ./.github/workflows/build-common.yml
  10. with:
  11. no-build-cache: true
  12. secrets:
  13. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  14. test-latest-deps:
  15. uses: ./.github/workflows/reusable-test-latest-deps.yml
  16. with:
  17. no-build-cache: true
  18. secrets:
  19. GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
  20. # muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
  21. # by the normal daily build
  22. # markdown-link-check and misspell-check are not included here because they don't use gradle cache
  23. # anyway and so are already covered by the normal daily build
  24. workflow-notification:
  25. needs:
  26. - common
  27. - test-latest-deps
  28. if: always()
  29. uses: ./.github/workflows/reusable-workflow-notification.yml
  30. with:
  31. success: >-
  32. ${{
  33. needs.common.result == 'success' &&
  34. needs.test-latest-deps.result == 'success'
  35. }}