Fix a sporadic CI failure
MODIFY
.github/workflows/ci.yml
.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

MODIFY
.github/workflows/nightly-no-cache.yml
.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

MODIFY
.github/workflows/nightly.yml
.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

MODIFY
.github/workflows/pr.yml
.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

Fix a sporadic CI failure (#5301)