File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,11 @@ runs:
2222
2323 - name : Setup Java
2424 shell : bash
25- env :
26- JAVA_VERSION : ${{ inputs.java-version }}
2725 run : |
2826 curl -s "https://get.sdkman.io" | bash
2927 source "/home/runner/.sdkman/bin/sdkman-init.sh"
3028 sdk list java
31- sdk install java $JAVA_VERSION && sdk default java $JAVA_VERSION
29+ sdk install java ${{ inputs.java-version }} && sdk default java ${{ inputs.java-version }}
3230 export JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
3331 echo "JAVA_HOME is set to $JAVA_HOME"
3432
Original file line number Diff line number Diff line change @@ -40,18 +40,16 @@ runs:
4040 RLSECURE_SITE_KEY : ${{ env.RLSECURE_SITE_KEY }}
4141 SIGNAL_HANDLER_TOKEN : ${{ env.SIGNAL_HANDLER_TOKEN }}
4242 PYTHONUNBUFFERED : 1
43- ARTIFACT_PATH : ${{ inputs.artifact-path }}
44- VERSION : ${{ inputs.version }}
4543 run : |
46- if [ ! -f "$ARTIFACT_PATH " ]; then
47- echo "Artifact not found: $ARTIFACT_PATH "
44+ if [ ! -f "${{ inputs.artifact-path }} " ]; then
45+ echo "Artifact not found: ${{ inputs.artifact-path }} "
4846 exit 1
4947 fi
5048
5149 rl-wrapper \
52- --artifact "$ARTIFACT_PATH " \
50+ --artifact "${{ inputs.artifact-path }} " \
5351 --name "${{ github.event.repository.name }}" \
54- --version "$VERSION " \
52+ --version "${{ inputs.version }} " \
5553 --repository "${{ github.repository }}" \
5654 --commit "${{ github.sha }}" \
5755 --build-env "github_actions" \
Original file line number Diff line number Diff line change 4949 uses : ./.github/actions/get-version
5050
5151 - name : Create tgz build artifact
52- env :
53- ARTIFACT_NAME : ${{ inputs.artifact-name }}
5452 run : |
55- tar -czvf $ARTIFACT_NAME *
53+ tar -czvf ${{ inputs.artifact-name }} *
5654
5755 - name : Run RL Scanner
5856 id : rl-scan-conclusion
You can’t perform that action at this time.
0 commit comments