reusable-muzzle.yml 749 B

123456789101112131415161718192021222324252627282930313233
  1. name: Reusable - Muzzle
  2. on:
  3. workflow_call:
  4. inputs:
  5. cache-read-only:
  6. type: boolean
  7. required: false
  8. jobs:
  9. muzzle:
  10. runs-on: ubuntu-latest
  11. strategy:
  12. matrix:
  13. task:
  14. - ":instrumentation:muzzle1"
  15. - ":instrumentation:muzzle2"
  16. - ":instrumentation:muzzle3"
  17. - ":instrumentation:muzzle4"
  18. steps:
  19. - uses: actions/checkout@v3
  20. - name: Set up JDK for running Gradle
  21. uses: actions/setup-java@v2
  22. with:
  23. distribution: temurin
  24. java-version: 17
  25. - name: Run muzzle
  26. uses: gradle/gradle-build-action@v2
  27. with:
  28. arguments: ${{ matrix.task }}
  29. cache-read-only: ${{ inputs.cache-read-only }}