This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/main by this push:
     new ba7de635 Added GH Action for generating SBOM
ba7de635 is described below

commit ba7de635734d70875781c6ee1382f6fa70515fe9
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 31 11:10:11 2023 +0200

    Added GH Action for generating SBOM
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .github/workflows/generate-sbom-main.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/generate-sbom-main.yml 
b/.github/workflows/generate-sbom-main.yml
index 09c73b86..e5ba3d0b 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -29,18 +29,18 @@ jobs:
     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

Reply via email to