From 4dac2d6af9707c2bca7d794608157dff7979b80c Mon Sep 17 00:00:00 2001 From: "andrey.shulika" Date: Thu, 22 Feb 2024 14:16:32 +0300 Subject: [PATCH] update to fresh action --- .github/workflows/license_check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 70b89a6..b71d17c 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -39,7 +39,7 @@ jobs: run: | ./check_licenses.sh java line_count=$(wc -l < ./licenses_check/failed_licenses.csv) - if [[ $line_count -gt 1 ]]; then + if [[ $line_count -ge 1 ]]; then echo "FAILED due to unknown/failed licenses found" exit 1 else @@ -54,7 +54,7 @@ jobs: - name: Uploading results if: ${{ !cancelled() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: licenses_check-${{ steps.meta.outputs.REPOSITORY_NAME }}-${{ needs.prebuild-job.outputs.version }} path: ./licenses_check/