Skip to content

Commit

Permalink
Fix nightly no cache build (open-telemetry#4449)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored and RashmiRam committed May 23, 2022
1 parent ad21e19 commit 647972d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/nightly-no-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,14 @@ jobs:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('examples/distro/gradle/wrapper/gradle-wrapper.properties') }}

- name: Local publish
- name: Local publish of artifacts
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
run: ./gradlew publishToMavenLocal --no-build-cache -x javadoc
run: ./gradlew publishToMavenLocal -x javadoc

- name: Local publish of gradle plugins
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
run: ../gradlew publishToMavenLocal -x javadoc
working-directory: gradle-plugins

- name: Build distro
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts --no-build-cache
Expand Down

0 comments on commit 647972d

Please sign in to comment.