Fix github action cache 429 (#5491)

This commit is contained in:
Trask Stalnaker 2022-03-02 21:27:27 -08:00 committed by GitHub
parent 93f10964d2
commit 7fcba80fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -40,10 +40,9 @@ jobs:
with:
distribution: adopt
java-version: 11
- name: Set up gradle cache
uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
# don't use gradle-build-action because all the parallel muzzle jobs cause the cache service
# to respond with 429 (to both muzzle and other jobs running in parallel)
- name: Run muzzle
# using retry because of sporadic gradle download failures