Skip to content

Commit 85b4c8e

Browse files
authored
Revert "Patch: Github actions and Workflow (#810)"
This reverts commit 730e0bd.
1 parent 41458d8 commit 85b4c8e

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/actions/maven-publish/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

.github/actions/rl-scanner/action.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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" \

.github/workflows/rl-scanner.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ jobs:
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

0 commit comments

Comments
 (0)