Skip to content

Commit

Permalink
Fix cargo relative path after gradle 8.12.1 (#371)
Browse files Browse the repository at this point in the history
* Fix cargo relative path after gradle 8.12.1

* Using macos-15 on the CI workflow
  • Loading branch information
DariusIMP authored Jan 30, 2025
1 parent f29b550 commit 392a900
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13]
os: [ubuntu-latest, macos-15]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ tasks {

tasks.register("CompileZenohJNI") {
project.exec {
commandLine("cargo", "build", "--release", "--manifest-path", "./zenoh-jni/Cargo.toml")
commandLine("cargo", "build", "--release", "--manifest-path", "../zenoh-jni/Cargo.toml")
}
}
2 changes: 1 addition & 1 deletion zenoh-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fun buildZenohJNI(mode: BuildMode = BuildMode.DEBUG) {
}

val result = project.exec {
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "./zenoh-jni/Cargo.toml")
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "../zenoh-jni/Cargo.toml")
}

if (result.exitValue != 0) {
Expand Down

0 comments on commit 392a900

Please sign in to comment.