Skip to content

Commit f919af5

Browse files
authored
Update action.yml
1 parent 68a8c54 commit f919af5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ runs:
4444
distribution: ${{ inputs.java_distribution }}
4545
java-version: ${{ inputs.java_version }}
4646
- name: Cache SpotBugs
47+
if: inputs.no_cache == 'false'
4748
id: cache-spotbugs
4849
uses: actions/cache@v3
4950
with:
50-
path: spotbugs-${{ inputs.spotbugs_version }}
51+
path: /home/runner/work/spotbugs+/spotbugs-${{ inputs.spotbugs_version }}
5152
key: ${{ runner.os }}-spotbugs-${{ inputs.spotbugs_version }}
5253
- name: Cache FindSecBugs
54+
if: inputs.no_cache == 'false'
5355
id: cache-findsecbugs
5456
uses: actions/cache@v3
5557
with:
56-
path: findsecbugs-plugin-${{ inputs.findsecbugs_version }}.jar
58+
path: /home/runner/work/findsecbugs+/findsecbugs-plugin-${{ inputs.findsecbugs_version }}.jar
5759
key: ${{ runner.os }}-findsecbugs-${{ inputs.findsecbugs_version }}
5860
- name: Get SpotBugs
5961
if: inputs.no_cache == 'true' || steps.cache-spotbugs.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)