Skip to content

Commit 68a8c54

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ runs:
5656
path: findsecbugs-plugin-${{ inputs.findsecbugs_version }}.jar
5757
key: ${{ runner.os }}-findsecbugs-${{ inputs.findsecbugs_version }}
5858
- name: Get SpotBugs
59-
if: inputs.no_cache == 'false' && steps.cache-spotbugs.outputs.cache-hit != 'true'
59+
if: inputs.no_cache == 'true' || steps.cache-spotbugs.outputs.cache-hit != 'true'
6060
env:
6161
INPUT_SPOTBUGS_VERSION: ${{ inputs.spotbugs_version }}
6262
run: |
@@ -69,7 +69,7 @@ runs:
6969
echo "Got spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
7070
shell: bash
7171
- name: Get FindSecBugs
72-
if: inputs.no_cache == 'false' && steps.cache-findsecbugs.outputs.cache-hit != 'true'
72+
if: inputs.no_cache == 'true' || steps.cache-findsecbugs.outputs.cache-hit != 'true'
7373
env:
7474
INPUT_FINDSECBUGS_VERSION: ${{ inputs.findsecbugs_version }}
7575
run: |

0 commit comments

Comments
 (0)