From 597a02b67e9255e8776af2dbe2e10376d2328ec0 Mon Sep 17 00:00:00 2001 From: "andrey.shulika" Date: Wed, 3 Jan 2024 16:35:14 +0300 Subject: [PATCH] change name --- .github/workflows/license_check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 1cb5c55..a45b561 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -12,7 +12,6 @@ on: env: APP_NAME: ${{ github.repository }} BRANCH: ${{ github.ref }} - VERSION: '' jobs: check_licenses: @@ -35,7 +34,9 @@ jobs: id: run_script - name: Get version - run: echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' >> $VERSION + run: + VERSION=$( echo "${{ github.ref }}" | awk -F '/' '{print $NF}' ) + APP_NAME=$( echo "${{ github.repository }}" | awk -F '/' '{print $NF}' ) - name: Uploading results if: always()