- do not try java things when building for docs.rs

This commit is contained in:
Wim Pomp committed 2025-02-03 16:27:24 +01:00
1 parent 15eae99272
commit a3dfc075a8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -7,12 +7,12 @@ fn main() -> anyhow::Result<()> {
println!("cargo:rerun-if-changed=build.rs");
if std::env::var("DOCS_RS").is_ok() {
Ok(())
} else {
Ok(retry(
Exponential::from_millis(1000).map(delay::jitter).take(4),
deploy_java_artifacts,
)?)
} else {
Ok(())
}
}