We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93cf969 commit d75c4a0Copy full SHA for d75c4a0
action.yml
@@ -9,7 +9,7 @@ inputs:
9
default: "json xlsx spdx cyclonedx"
10
inputs-path:
11
description: "Relative path within the $GITHUB_WORKSPACE for pipeline inputs"
12
- default: "${{ github.workspace }}/scancode-inputs"
+ default: "scancode-inputs"
13
input-urls:
14
description: "Provide one or more URLs to download for the pipeline run execution."
15
required: false
@@ -119,6 +119,7 @@ runs:
119
shell: bash
120
run: |
121
SOURCE_PATH="${{ inputs.inputs-path }}"
122
+ [[ "$SOURCE_PATH" != /* ]] && SOURCE_PATH="${{ github.workspace }}/$SOURCE_PATH"
123
DESTINATION_PATH="${{ env.PROJECT_WORK_DIRECTORY }}/input/"
124
mkdir -p "$DESTINATION_PATH"
125
0 commit comments