Skip to content

Commit

Permalink
[releng] Rename SBOM file before uploading
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Charles David <[email protected]>
  • Loading branch information
pcdavid committed Jan 31, 2025
1 parent aa66845 commit e96274c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/generate-sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ jobs:
./mvnw -B -ntp clean package
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:3.1.0:exec)
echo "PROJECT_VERSION=$VERSION" >> $GITHUB_OUTPUT
mv releng/org.eclipse.emf.validation.repository/target/bom.json emf-validation-bom.json
- name: Upload sbom
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: sbom
path: releng/org.eclipse.emf.validation.repository/target/bom.json
path: emf-validation-bom.json

store-sbom-data: # stores sbom and metadata in a predefined format for otterdog to pick up
needs: ['build']
Expand All @@ -36,5 +37,5 @@ jobs:
projectName: 'EMF Validation'
projectVersion: ${{ needs.generate-sbom.outputs.project-version }}
bomArtifact: 'sbom'
bomFilename: 'bom.json'
bomFilename: 'emf-validation-bom.json'
parentProject: 'e74a7e8c-6324-4d54-b65a-b7bff986ac39'

0 comments on commit e96274c

Please sign in to comment.