99 types : [ "released" ]
1010
1111jobs :
12- blackduck :
13- name : Blackduck Scan
14- runs-on : ubuntu-latest
15- timeout-minutes : 15
16- steps :
17- - name : Checkout
18- uses : actions/checkout@v4
19-
20- - name : Scan With Black Duck
21- uses : ./.github/actions/scan-with-blackduck
22- with :
23- blackduck_token : ${{ secrets.BLACK_DUCK_TOKEN }}
24- github_token : ${{ secrets.GITHUB_TOKEN }}
25- maven-version : ${{ env.MAVEN_VERSION }}
26-
27- update-version :
28- name : Update Version
29- runs-on : ubuntu-latest
30- steps :
31- - name : Checkout
32- uses : actions/checkout@v4
33- with :
34- token : ${{ secrets.GH_TOKEN }}
12+ # blackduck:
13+ # name: Blackduck Scan
14+ # runs-on: ubuntu-latest
15+ # timeout-minutes: 15
16+ # steps:
17+ # - name: Checkout
18+ # uses: actions/checkout@v4
19+ # - name: Scan With Black Duck
20+ # uses: ./.github/actions/scan-with-blackduck
21+ # with:
22+ # blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
23+ # github_token: ${{ secrets.GITHUB_TOKEN }}
24+ # maven-version: ${{ env.MAVEN_VERSION }}
3525
36- - name : Update version
37- uses : ./.github/actions/newrelease
38- with :
39- java-version : ${{ env.JAVA_VERSION }}
40- maven-version : ${{ env.MAVEN_VERSION }}
41-
42- - name : Upload Changed Artifacts
43- uses : actions/upload-artifact@v4
44- with :
45- name : root-new-version
46- path : .
47- include-hidden-files : true
48- retention-days : 1
26+ # update-version:
27+ # name: Update Version
28+ # runs-on: ubuntu-latest
29+ # steps:
30+ # - name: Checkout
31+ # uses: actions/checkout@v4
32+ # with:
33+ # token: ${{ secrets.GH_TOKEN }}
34+ # - name: Update version
35+ # uses: ./.github/actions/newrelease
36+ # with:
37+ # java-version: ${{ env.JAVA_VERSION }}
38+ # maven-version: ${{ env.MAVEN_VERSION }}
39+ # - name: Upload Changed Artifacts
40+ # uses: actions/upload-artifact@v4
41+ # with:
42+ # name: root-new-version
43+ # path: .
44+ # include-hidden-files: true
45+ # retention-days: 1
4946
5047 build :
51- name : Build and Sonar Scan
48+ # name: Build and Sonar Scan
49+ name : Build
5250 runs-on : ubuntu-latest
53- needs : update-version
51+ # needs: update-version
5452 steps :
5553 - name : Download artifact
5654 uses : actions/download-artifact@v4
5755 with :
5856 name : root-new-version
59-
6057 - name : Build
6158 uses : ./.github/actions/build
6259 with :
6360 java-version : ${{ env.JAVA_VERSION }}
6461 maven-version : ${{ env.MAVEN_VERSION }}
65-
66- - name : Sonar Scan
67- uses : ./.github/actions/scan-with-sonar
68- with :
69- java-version : ${{ env.JAVA_VERSION }}
70- maven-version : ${{ env.MAVEN_VERSION }}
71- sonarq-token : ${{ secrets.SONARQ_TOKEN }}
72- github-token : ${{ secrets.GITHUB_TOKEN }}
73-
62+ # - name: Sonar Scan
63+ # uses: ./.github/actions/scan-with-sonar
64+ # with:
65+ # java-version: ${{ env.JAVA_VERSION }}
66+ # maven-version: ${{ env.MAVEN_VERSION }}
67+ # sonarq-token: ${{ secrets.SONARQ_TOKEN }}
68+ # github-token: ${{ secrets.GITHUB_TOKEN }}
7469 - name : Upload Changed Artifacts
7570 uses : actions/upload-artifact@v4
7671 with :
@@ -82,13 +77,13 @@ jobs:
8277 deploy :
8378 name : Deploy to Maven Central
8479 runs-on : ubuntu-latest
85- needs : [blackduck, build]
80+ # needs: [blackduck, build]
81+ needs : [build]
8682 steps :
8783 - name : Download artifact
8884 uses : actions/download-artifact@v4
8985 with :
9086 name : root-build
91-
9287 - name : Deploy
9388 uses : ./.github/actions/deploy-release
9489 with :
9994 pgp-passphrase : ${{ secrets.PGP_PASSPHRASE }}
10095 revision : ${{ github.event.release.tag_name }}
10196 maven-version : ${{ env.MAVEN_VERSION }}
102-
10397 - name : Echo Status
10498 run : echo "The job status is ${{ job.status }}"
0 commit comments