Skip to content

Commit

Permalink
Fix a sporadic CI failure (#5301)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Feb 3, 2022
1 parent a3ce5d5 commit 449af9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nightly-no-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 449af9b

Please sign in to comment.