diff --git a/.github/actions/rl-scanner/action.yml b/.github/actions/rl-scanner/action.yml index ea0b9a2af9..e02caf91b3 100644 --- a/.github/actions/rl-scanner/action.yml +++ b/.github/actions/rl-scanner/action.yml @@ -40,16 +40,18 @@ runs: RLSECURE_SITE_KEY: ${{ env.RLSECURE_SITE_KEY }} SIGNAL_HANDLER_TOKEN: ${{ env.SIGNAL_HANDLER_TOKEN }} PYTHONUNBUFFERED: 1 + ARTIFACT_PATH: ${{ inputs.artifact-path }} + VERSION: ${{ inputs.version }} run: | - if [ ! -f "${{ inputs.artifact-path }}" ]; then - echo "Artifact not found: ${{ inputs.artifact-path }}" + if [ ! -f "$ARTIFACT_PATH" ]; then + echo "Artifact not found: $ARTIFACT_PATH" exit 1 fi rl-wrapper \ - --artifact "${{ inputs.artifact-path }}" \ + --artifact "$ARTIFACT_PATH" \ --name "${{ github.event.repository.name }}" \ - --version "${{ inputs.version }}" \ + --version "$VERSION" \ --repository "${{ github.repository }}" \ --commit "${{ github.sha }}" \ --build-env "github_actions" \