diff --git a/.github/workflows/publish-android.yml b/.github/workflows/publish-android.yml index 0ee5c26..1dd37a4 100644 --- a/.github/workflows/publish-android.yml +++ b/.github/workflows/publish-android.yml @@ -58,7 +58,7 @@ jobs: gradle wrapper - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@v3 + uses: gradle/actions/wrapper-validation@v3 - name: Set pub mode env var # Note: This step is intended to allow publishing snapshot packages. @@ -71,8 +71,6 @@ jobs: fi - name: Gradle Publish Android Package - uses: gradle/actions/setup-gradle@v3 - with: - arguments: publishAndroidReleasePublicationToGithubPackagesRepository -Pandroid=true ${{ env.PUB_MODE }} + run: ./gradlew publishAndroidReleasePublicationToGithubPackagesRepository -Pandroid=true ${{ env.PUB_MODE }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-dokka.yml b/.github/workflows/publish-dokka.yml index a70ca2e..15864a6 100644 --- a/.github/workflows/publish-dokka.yml +++ b/.github/workflows/publish-dokka.yml @@ -33,7 +33,7 @@ jobs: link-to-sdk: true - name: Build doc - run: gradle dokkaHtml + run: gradle -Pandroid dokkaHtml - name: Deploy doc if: ${{ inputs.live-run || false }} diff --git a/.github/workflows/publish-jvm.yml b/.github/workflows/publish-jvm.yml index 26a16fc..3f8d4d0 100644 --- a/.github/workflows/publish-jvm.yml +++ b/.github/workflows/publish-jvm.yml @@ -157,7 +157,7 @@ jobs: gradle wrapper - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@v3 + uses: gradle/actions/wrapper-validation@v3 - name: Set pub mode env var # Note: This step is intended to allow publishing snapshot packages. @@ -170,8 +170,6 @@ jobs: fi - name: Gradle Publish JVM Package - uses: gradle/actions/setup-gradle@v3 - with: - arguments: publishJvmPublicationToGithubPackagesRepository -PgithubPublish=true ${{ env.PUB_MODE }} + run: ./gradlew publishJvmPublicationToGithubPackagesRepository -PgithubPublish=true ${{ env.PUB_MODE }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/zenoh-java/build.gradle.kts b/zenoh-java/build.gradle.kts index 4484dd6..f5841d0 100644 --- a/zenoh-java/build.gradle.kts +++ b/zenoh-java/build.gradle.kts @@ -116,7 +116,6 @@ tasks.withType { tasks.whenObjectAdded { if ((this.name == "mergeDebugJniLibFolders" || this.name == "mergeReleaseJniLibFolders")) { this.dependsOn("cargoBuild") - this.inputs.dir(buildDir.resolve("rustJniLibs/android")) } }