Skip to content

Commit

Permalink
Move away and restore coverity_tool.md5 to make caches work (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Dec 19, 2024
1 parent fc9ba56 commit 9954ee7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ jobs:
path: ${RUNNER_TEMP}/${{ env.COVERITY }}
key: ${{ runner.os }}-coverity-${{ hashFiles('coverity_tool.md5') }}

- name: Remove coverity_tool.md5 file
run: rm -f coverity_tool.md5
- name: Move coverity_tool.md5 file so it won't conflict with maven
run: mv coverity_tool.md5 ${RUNNER_TEMP}/coverity_tool.md5

- name: Download and extract Coverity distribution if cache-miss
if: steps.cache-pull-coverity-distribution.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -145,3 +145,6 @@ jobs:

- name: Trigger Coverity analysis
run: curl -X PUT -d token=${{ secrets.COVERITY_TOKEN }} ${{ env.COVERITY_SUBMIT_URL }}

- name: Restore coverity_tool.md5 file so caches can be generated
run: mv ${RUNNER_TEMP}/coverity_tool.md5 coverity_tool.md5

0 comments on commit 9954ee7

Please sign in to comment.