Skip to content

Commit 39d02b1

Browse files
authored
ci: Revert SBOM upload (#402)
Signed-off-by: André Silva <[email protected]>
1 parent 603bcbb commit 39d02b1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
2121
outputs:
2222
release_created: ${{ fromJSON(steps.release.outputs.paths_released)[0] != null }} # if we have a single release path, do the release
23-
release_tag_name: ${{ steps.release.outputs.release_tag_name }}
23+
# release_tag_name: ${{ steps.release.outputs.release_tag_name }}
2424
paths_released: ${{ steps.release.outputs.paths_released }}
2525

2626
release:
@@ -90,7 +90,9 @@ jobs:
9090
subject-path: "${{ matrix.release }}/**/*.nupkg"
9191
sbom-path: bom.json
9292

93-
- name: Attach SBOM to artifact
94-
env:
95-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
96-
run: gh release upload ${{ needs.release-package.outputs.release_tag_name }} bom.json
93+
# TODO: We need to look into this link and fix the tag_name https://github.com/googleapis/release-please-action?tab=readme-ov-file#outputs
94+
# Because we are using a multiple release path, we need to use the <path>--tag_name from the release-package job
95+
# - name: Attach SBOM to artifact
96+
# env:
97+
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
98+
# run: gh release upload ${{ needs.release-package.outputs.release_tag_name }} bom.json

0 commit comments

Comments
 (0)