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

Fix nightly no cache build (#4449)