Revert "[CI] Remove scan from ci-pr main"

This reverts commit 392081b43a.
This commit is contained in:
Chris Bono
2024-11-07 20:57:03 -06:00
parent 392081b43a
commit 02d9cc9a39
2 changed files with 26 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ jobs:
if: ${{ github.base_ref != 'main' }}
uses: actions/setup-java@v1
with:
java-version: 17
java-version: ${{ needs.parameters.outputs.jdk_build }}
- name: 'Configure: Install GraalVM'
if: ${{ github.base_ref == 'main' }}
uses: graalvm/setup-graalvm@v1
@@ -92,6 +92,13 @@ jobs:
exit $RC
fi
fi
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'
shell: bash
run: |
BUILD_DIR=$(realpath $MAIN_PATH)
$BUILD_DIR/scan-folders.sh table
- name: 'Upload: Error logs'
if: ${{ failure() }}
uses: actions/upload-artifact@v3