From 734c86630db59c73726201ce69ebc0ac2e4c5bcc Mon Sep 17 00:00:00 2001 From: sema Date: Wed, 17 Jul 2024 15:43:39 +0200 Subject: [PATCH] Update license-compliance.yml --- .github/workflows/license-compliance.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/license-compliance.yml b/.github/workflows/license-compliance.yml index 54ed82d..4f2ea25 100644 --- a/.github/workflows/license-compliance.yml +++ b/.github/workflows/license-compliance.yml @@ -42,7 +42,10 @@ jobs: - name: 'Compare Dependency licenses' id: compare-dependency-licenses run: | - dependency_licenses=${{ steps.parse-dependency-licenses.outputs.dependency-licenses }} + dependency_licenses=$(cat dependency_licenses.json) + echo "Dependency licenses content:" + echo "${dependency_licenses}" + permitted_licenses="MIT,Apache-2.0,BSD,EPL1" non_compliant_packages="" for package in $(echo "${dependency_licenses}" | jq -r '.[] | .Package') @@ -58,6 +61,7 @@ jobs: exit 1 fi + - name: 'Upload Dependency License Report' if: always() uses: actions/upload-artifact@v2