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