From 93ac59e2c868954545ad1b31e47e5d18752815e5 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Mon, 9 Sep 2024 18:52:42 +0530 Subject: [PATCH] Update workflow --- .github/workflows/rl-scanner.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index 8b892d7b..8fc512d7 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -42,6 +42,11 @@ jobs: - name: List build/libs contents run: ls -la build/libs + - name: Output build artifact + id: output_build_artifact + run: | + echo "scanfile=$(ls build/libs/auth0-*-SNAPSHOT.jar)" >> $GITHUB_OUTPUT + - name: Set up Python uses: actions/setup-python@v4 with: @@ -59,7 +64,7 @@ jobs: SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }} run: | python scripts/rl-wrapper.py \ - --artifact "build/libs" \ + --artifact "${{ steps.output_build_artifact.outputs.scanfile }}" \ --name "${{ github.event.repository.name }}" \ --version "${{ steps.get_version.outputs.version }}" \ --repository "${{ github.repository }}" \