Retry muzzle CI step (#3141)

This commit is contained in:
Trask Stalnaker 2021-05-30 18:12:52 -07:00 committed by GitHub
parent fb0d047fce
commit d3cfd9b8ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -161,7 +161,13 @@ jobs:
distribution: adopt
java-version: 11
- name: Run muzzle
run: ./gradlew ${{ matrix.module }}:muzzle
# using retry because of sporadic gradle download failures
uses: nick-invision/retry@v2.4.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
accept-pr:
needs: [ build, test, smoke-test, muzzle ]