From 6792fdcdf265b1f1225582d50fe9c94c464b12f2 Mon Sep 17 00:00:00 2001 From: Snehil Kishore Date: Mon, 28 Oct 2024 21:43:48 +0530 Subject: [PATCH] Adding Gem File Path Correction Logic --- .github/workflows/rl-scanner.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index 21250de3..0d986a3d 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -39,6 +39,8 @@ jobs: shell: bash run: | gem build *.gemspec + export GEM_FILE=$(ls *.gem) + echo "gem_file=$GEM_FILE" >> $GITHUB_ENV - name: Get Artifact Version id: get_version @@ -48,7 +50,7 @@ jobs: id: rl-scan-conclusion uses: ./.github/actions/rl-scanner with: - artifact-path: "$(pwd)/*.gem" + artifact-path: "$(pwd)/${{ env.gem_file }}" version: "${{ steps.get_version.outputs.version }}" env: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}