Weihang Lo 3861f60f6b
fix(sbom): Don't set CARGO_SBOM_PATH when empty (like stable) (#16419)
### What does this PR try to resolve?

Noticed `CARGO_SBOM_PATH` was being set when playing around with
artifact-deps.

I could have gated the env by whether the nightly feature was enabled
but figured it would be better to not set if it there aren't SBOMs.

### How to test and review this PR?
2025-12-19 21:53:33 +00:00
..