From a3a84d16e9b89f93c2bb2965eef087a1a9fd4c6b Mon Sep 17 00:00:00 2001 From: "andrey.shulika" Date: Thu, 4 Jan 2024 20:17:58 +0300 Subject: [PATCH] add component name --- .github/workflows/license_check.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 403b81e..8588469 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -52,16 +52,15 @@ jobs: run: ./check_licenses.sh java id: run_script -# - name: Get version -# run: -# echo "${{ github.ref }}" | awk -F '/' '{print $NF}' > $VERSION -# echo "${{ github.repository }}" | awk -F '/' '{print $NF}' > $APP_NAME + - name: Get repository name + run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $NF}')" >> $GITHUB_OUTPUT + id: meta - name: Uploading results if: always() uses: actions/upload-artifact@v3 with: - name: licenses_check-${{ needs.prebuild-job.outputs.version }} + name: licenses_check-${{ steps.meta.outputs.REPOSITORY_NAME }}-${{ needs.prebuild-job.outputs.version }} path: ./licenses_check/ - name: Results checking