Skip to content

Commit

Permalink
feat: integrate dependency track
Browse files Browse the repository at this point in the history
  • Loading branch information
martinakraus committed Dec 18, 2024
1 parent 0122fa6 commit 9f301c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/generate-merge-boms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
- master
- "2.3[1-9]"
- "2.4[0-9]"
workflow_dispatch:

concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -19,6 +21,10 @@ jobs:
create-boms:
runs-on: ubuntu-latest

defaults:
run:
working-directory: dhis-2/

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -31,9 +37,6 @@ jobs:
distribution: temurin
cache: maven

- name: Install CycloneDX Maven Plugin
run: mvn install org.cyclonedx:cyclonedx-maven-plugin:2.7.4

- name: Generate BOMs
run: mvn cyclonedx:makeBom

Expand All @@ -45,7 +48,6 @@ jobs:
- name: Merge BOMs
run: cyclonedx merge --input-files $(find . -name 'dxbom.json') --input-format json --output-file target/merged-bom.json --output-format json

# - name: Upload merged BOM
# uses: actions/upload-artifact@v3
# with:
Expand Down

0 comments on commit 9f301c2

Please sign in to comment.