Add retry back to muzzle jobs (#5457)
This commit is contained in:
parent
0a6b87eb69
commit
e5fdfbaeb4
|
@ -191,12 +191,20 @@ jobs:
|
|||
distribution: adopt
|
||||
java-version: 11
|
||||
|
||||
- name: Run muzzle
|
||||
- name: Set up gradle cache
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: ${{ matrix.module }}:muzzle
|
||||
cache-read-only: true
|
||||
|
||||
- name: Run muzzle
|
||||
# using retry because of sporadic gradle download failures
|
||||
uses: nick-invision/retry@v2.6.0
|
||||
with:
|
||||
# timing out has not been a problem, these jobs typically finish in 2-3 minutes
|
||||
timeout_minutes: 15
|
||||
max_attempts: 3
|
||||
command: ./gradlew ${{ matrix.module }}:muzzle
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -182,12 +182,20 @@ jobs:
|
|||
distribution: adopt
|
||||
java-version: 11
|
||||
|
||||
- name: Run muzzle
|
||||
- name: Set up gradle cache
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: ${{ matrix.module }}:muzzle
|
||||
cache-read-only: true
|
||||
|
||||
- name: Run muzzle
|
||||
# using retry because of sporadic gradle download failures
|
||||
uses: nick-invision/retry@v2.6.0
|
||||
with:
|
||||
# timing out has not been a problem, these jobs typically finish in 2-3 minutes
|
||||
timeout_minutes: 15
|
||||
max_attempts: 3
|
||||
command: ./gradlew ${{ matrix.module }}:muzzle
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -242,12 +242,20 @@ jobs:
|
|||
distribution: adopt
|
||||
java-version: 11
|
||||
|
||||
- name: Run muzzle
|
||||
- name: Set up gradle cache
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: ${{ matrix.module }}:muzzle
|
||||
cache-read-only: true
|
||||
|
||||
- name: Run muzzle
|
||||
# using retry because of sporadic gradle download failures
|
||||
uses: nick-invision/retry@v2.6.0
|
||||
with:
|
||||
# timing out has not been a problem, these jobs typically finish in 2-3 minutes
|
||||
timeout_minutes: 15
|
||||
max_attempts: 3
|
||||
command: ./gradlew ${{ matrix.module }}:muzzle
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue