Skip to content

Commit 917c57f

Browse files
committed
Adapt checks to print DEPENDENCIES files on failure
Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com>
1 parent f860e4f commit 917c57f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/builder-dash.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# SPDX-License-Identifier: Apache-2.0
1919
# #############################################################################
2020
---
21-
2221
name: "Frontend - 3rd Party dependency check (Eclipse Dash)"
2322

2423
on:
@@ -50,3 +49,9 @@ jobs:
5049
fail_on_out_of_date: true
5150
fail_on_rejected: true
5251
fail_on_restricted: false
52+
- name: Show dependencies
53+
if: failure()
54+
shell: bash
55+
run: |
56+
cat DEPENDENCIES_FRONTEND
57+
exit 1

.github/workflows/validator-dash.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# SPDX-License-Identifier: Apache-2.0
1919
#################################################################################
2020
---
21-
2221
name: "Backend - 3rd Party dependency check (Eclipse Dash)"
2322

2423
on:
@@ -40,8 +39,8 @@ jobs:
4039
- name: Set up JDK 17
4140
uses: actions/setup-java@v5
4241
with:
43-
distribution: 'temurin'
44-
java-version: '17'
42+
distribution: "temurin"
43+
java-version: "17"
4544
- name: Generate dependency list
4645
working-directory: cx-policy-validator
4746
shell: bash
@@ -62,10 +61,7 @@ jobs:
6261
fail_on_restricted: false
6362
- name: Show list
6463
if: failure()
65-
working-directory: cx-policy-validator
6664
shell: bash
6765
run: |
68-
echo 'FAILED - Current List:'
69-
cat dependency-list
66+
cat DEPENDENCIES_BACKEND
7067
exit 1
71-

0 commit comments

Comments
 (0)