Skip to content

Commit 5f30e73

Browse files
More tweaks to the release workflow
1 parent 100a4b9 commit 5f30e73

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)