From c7e68e05888ef4c2d9febf4d21aa9243ffddfcea Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Thu, 3 Feb 2022 08:18:05 -0800 Subject: [PATCH] Fix a sporadic CI failure (#5301) --- .github/workflows/ci.yml | 3 ++- .github/workflows/nightly-no-cache.yml | 3 ++- .github/workflows/nightly.yml | 3 ++- .github/workflows/pr.yml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6473933fd11..a14d74049444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,8 @@ jobs: GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }} uses: gradle/gradle-build-action@v2 with: - arguments: build + # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/ + arguments: build -x javadoc build-gradle-plugins: runs-on: ubuntu-latest diff --git a/.github/workflows/nightly-no-cache.yml b/.github/workflows/nightly-no-cache.yml index fa6bf503ef23..4fd5bec32c07 100644 --- a/.github/workflows/nightly-no-cache.yml +++ b/.github/workflows/nightly-no-cache.yml @@ -23,7 +23,8 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} uses: gradle/gradle-build-action@v2 with: - arguments: build --no-build-cache + # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/ + arguments: build --no-build-cache -x javadoc build-gradle-plugins: runs-on: ubuntu-latest diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b6293135dda9..782343c6d39f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -25,7 +25,8 @@ jobs: GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }} uses: gradle/gradle-build-action@v2 with: - arguments: build + # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/ + arguments: build -x javadoc build-gradle-plugins: runs-on: ubuntu-latest diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1efa3a8766bb..c2dd12481f89 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -24,7 +24,8 @@ jobs: - name: Build uses: gradle/gradle-build-action@v2 with: - arguments: build + # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/ + arguments: build -x javadoc cache-read-only: true - name: Upload deadlock detector artifacts if any