File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -424,13 +424,13 @@ jobs:
424424 -NpmBomPath "${{ runner.temp }}/sbom/cyclonedx/npm/bom.json"
425425 -PackageId "${{ env.PACKAGE_ID }}"
426426 -PackageVersion "$env:VERSION"
427- -OutputFile "${{ runner.temp }}/sbom/cyclonedx/${{ env.PACKAGE_ID }}.${{ env. VERSION }} .cdx.json"
427+ -OutputFile "${{ runner.temp }}/sbom/cyclonedx/${{ env.PACKAGE_ID }}.$env: VERSION.cdx.json"
428428
429429 - name : Verify CycloneDX SBOM output
430430 shell : pwsh
431431 run : >
432432 .github/scripts/Assert-CycloneDxSbom.ps1
433- -BomPath "${{ runner.temp }}/sbom/cyclonedx/${{ env.PACKAGE_ID }}.${{ env. VERSION }} .cdx.json"
433+ -BomPath "${{ runner.temp }}/sbom/cyclonedx/${{ env.PACKAGE_ID }}.$env: VERSION.cdx.json"
434434
435435 # An attestation binds to a digest rather than a path, so the bytes are re-hashed here and that
436436 # value is what gets attested, re-checked before publishing, and reported on the release.
@@ -493,7 +493,7 @@ jobs:
493493 # scripts-only sparse one so the publish gate itself is version-controlled and reviewable.
494494 publish :
495495 name : Publish to NuGet.org
496- needs : [pack, sbom]
496+ needs : [pack, sbom, dependency-scan ]
497497 runs-on : windows-latest
498498 timeout-minutes : 15
499499 environment : NuGet Deploy
You can’t perform that action at this time.
0 commit comments