Added GH Action for generating SBOM
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
diff --git a/.github/workflows/generate-sbom-main.yml b/.github/workflows/generate-sbom-main.yml
index 09c73b8..e5ba3d0 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -29,18 +29,18 @@
if: github.repository == 'apache/camel-k-runtime'
runs-on: ubuntu-latest
steps:
- - name: Set up JDK
- uses: actions/setup-java@v3
- with:
- distribution: 'temurin'
- java-version: 11
- cache: 'maven'
- name: Checkout Camel-k-runtime project
uses: actions/checkout@v3
with:
ref: main
persist-credentials: false
fetch-depth: 0
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: 11
+ cache: 'maven'
- name: Build Camel-k-runtime Project for generating SBOM
run: ./mvnw -V --no-transfer-progress clean install -DskipTests -Psbom
- name: Create Pull Request