From: Elango Cheran Date: Fri, 16 Dec 2022 23:37:04 +0000 (-0800) Subject: ICU-12811 Make CI jobs for Maven run serially to avoid CI cache race condition X-Git-Tag: cldr/2023-02-02~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6353aeedcfa4b5907f1037a9d924660ff8f4d87;p=icu ICU-12811 Make CI jobs for Maven run serially to avoid CI cache race condition --- diff --git a/.github/workflows/icu_ci.yml b/.github/workflows/icu_ci.yml index 712b1341c91..b5871b7b5c9 100644 --- a/.github/workflows/icu_ci.yml +++ b/.github/workflows/icu_ci.yml @@ -63,6 +63,10 @@ jobs: java8-icu4j-test-maven: name: Run unit tests with Maven using JDK 8 runs-on: ubuntu-latest + # Make this unit test target job depend on a later phase target job to prevent race condition when + # trying to persist the Maven cache to the Github cache, knowing that artifacts needed for + # the later phase `verify` are a superset of the artifacts needed for the earlier phase `test`. + needs: java8-icu4j-verify-maven steps: - name: Checkout and setup uses: actions/checkout@v2