Fix github action cache 429 (#5491)
This commit is contained in:
parent
93f10964d2
commit
7fcba80fc1
|
@ -40,10 +40,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- name: Set up gradle cache
|
|
||||||
uses: gradle/gradle-build-action@v2
|
# don't use gradle-build-action because all the parallel muzzle jobs cause the cache service
|
||||||
with:
|
# to respond with 429 (to both muzzle and other jobs running in parallel)
|
||||||
cache-read-only: true
|
|
||||||
|
|
||||||
- name: Run muzzle
|
- name: Run muzzle
|
||||||
# using retry because of sporadic gradle download failures
|
# using retry because of sporadic gradle download failures
|
||||||
|
|
Loading…
Reference in New Issue