File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,22 +67,14 @@ jobs:
6767
6868 # Set step output
6969 echo "version=$VERSION" >> $GITHUB_OUTPUT
70-
71- - name : Commit SBOM
72- env :
73- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74- run : |
75- VERSION=${{ steps.generate_sbom.outputs.version }}
76- echo "Committing SBOM for version: $VERSION"
77-
78- git config user.name "github-actions[bot]"
79- git config user.email "github-actions[bot]@users.noreply.github.com"
80- git add sbom/$VERSION/*.json
81- git commit -m "Add SBOM for version $VERSION" || echo "No changes to commit"
82- git push origin HEAD
83-
84-
8570
71+ - name : Upload SBOM artifact
72+ uses : actions/upload-artifact@v3
73+ with :
74+ name : SBOM-${{ steps.generate_sbom.outputs.version }}
75+ path : sbom/${{ steps.generate_sbom.outputs.version }}/bom.json
76+
77+
8678 - name : Pack
8779 if : matrix.dotnet-version == '9.x'
8880 run : dotnet pack --configuration Release --no-build --output ./nupkg
You can’t perform that action at this time.
0 commit comments