Skip to content

Commit

Permalink
Update deprecated actions (#109) (#110)
Browse files Browse the repository at this point in the history
* chore: update deprecated actions

* chore: remove unnecessary buildDir()

* fix: add option to build docs for android
  • Loading branch information
diogomatsubara authored Jul 19, 2024
1 parent 2725f8f commit 761388a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/publish-jvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 }}
1 change: 0 additions & 1 deletion zenoh-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ tasks.withType<Test> {
tasks.whenObjectAdded {
if ((this.name == "mergeDebugJniLibFolders" || this.name == "mergeReleaseJniLibFolders")) {
this.dependsOn("cargoBuild")
this.inputs.dir(buildDir.resolve("rustJniLibs/android"))
}
}

Expand Down

0 comments on commit 761388a

Please sign in to comment.