From 7570d796860060d866664633144e02c4bd6cd29b Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:47:43 +0200 Subject: [PATCH] Restore coverity_tool.md5 path, just remove it after checking for cache (#160) --- .github/workflows/coverity.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 074d614..4e20d22 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -86,14 +86,17 @@ 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 ${RUNNER_TEMP}/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 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(format('{0}/coverity_tool.md5', runner.temp)) }} + key: ${{ runner.os }}-coverity-${{ hashFiles('coverity_tool.md5') }} + + - name: Remove coverity_tool.md5 file + run: rm -f coverity_tool.md5 - name: Download and extract Coverity distribution if cache-miss if: steps.cache-pull-coverity-distribution.outputs.cache-hit != 'true'