From 2a94128f2ce1577cf7ad216ab4bf85326e38ba99 Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 19 Dec 2024 08:54:34 +0200 Subject: [PATCH] Adds more coverity paths under RUNNER_TEMP (#158) --- .github/workflows/coverity.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 8b0bad8..4790152 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -86,14 +86,14 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - name: Download Coverity distribution md5sum for cache key - run: wget https://scan.coverity.com/download/linux64 --post-data "token=${{ secrets.COVERITY_TOKEN }}&project=${{ vars.COVERITY_PROJECT_URL_NAME }}&md5=1" -O coverity_tool.md5 + run: wget https://scan.coverity.com/download/linux64 --post-data "token=${{ secrets.COVERITY_TOKEN }}&project=${{ vars.COVERITY_PROJECT_URL_NAME }}&md5=1" -O ${RUNNER_TEMP}/coverity_tool.md5 - name: Cache pull Coverity distribution, extracted id: cache-pull-coverity-distribution uses: actions/cache@v4 with: path: ${{ env.COVERITY }} - key: ${{ runner.os }}-coverity-${{ hashFiles('coverity_tool.md5') }} + key: ${{ runner.os }}-coverity-${{ hashFiles('${RUNNER_TEMP}/coverity_tool.md5') }} - name: Download and extract Coverity distribution if cache-miss if: steps.cache-pull-coverity-distribution.outputs.cache-hit != 'true' @@ -124,8 +124,8 @@ jobs: - name: Compile Coverity run: | - ${RUNNER_TEMP}/${{ env.COVERITY }}/bin/cov-build --dir cov-int mvn -Pbuild-nogenerate -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= clean verify - tar czvf ${RUNNER_TEMP}/${{ vars.COVERITY_PROJECT_URL_NAME }}.tgz cov-int + ${RUNNER_TEMP}/${{ env.COVERITY }}/bin/cov-build --dir ${RUNNER_TEMP}/cov-int mvn -Pbuild-nogenerate -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= clean verify + tar czvf ${RUNNER_TEMP}/${{ vars.COVERITY_PROJECT_URL_NAME }}.tgz ${RUNNER_TEMP}/cov-int - name: Prepare response url run: printf "RESPONSE_URL=%q\n" "$(jq -r '.url' ${RUNNER_TEMP}/response)" >> $GITHUB_ENV