Fix nightly no cache build
@@ -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
