From 7fcba80fc1a7c9b394144693ad445b0960e94548 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 2 Mar 2022 21:27:27 -0800 Subject: [PATCH] Fix github action cache 429 (#5491) --- .github/workflows/muzzle.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/muzzle.yml b/.github/workflows/muzzle.yml index be34eab26f..5e29b6bdca 100644 --- a/.github/workflows/muzzle.yml +++ b/.github/workflows/muzzle.yml @@ -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