From 08f4f597729c34caa280fb5fa4887764b2354af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zden=C4=9Bk=20=C4=8Cern=C3=BD?= Date: Tue, 8 Aug 2023 13:33:53 +0200 Subject: [PATCH] Fix #23: Update default version of JAVA for coverity scan to 17 (#30) * Fix #23: Update default version of JAVA for coverity scan to 17 * Use JFrog libraries * Remove extra whitespace --- .github/workflows/coverity-scan.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index 0a1d3d1..b16ed1a 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -2,6 +2,10 @@ on: workflow_call: inputs: + java_version: + type: string + description: set version of java used to run the maven + default: '17' version: type: string description: project/build version - use commit sha or maven version of artifact @@ -39,7 +43,7 @@ jobs: - name: Prepare Analysis run: | cd ${{ inputs.directory_path }} - cov-build --dir cov-int mvn -DskipTests=true compile + cov-build --dir cov-int mvn -DskipTests=true -DuseInternalRepo=true compile tar czvf ${{ inputs.project-name }}.tgz cov-int mkdir result && cp ${{ inputs.project-name }}.tgz result - name: Storing Generated Artifacts