Skip to content

Commit 8a416b4

Browse files
committed
Get debug results
1 parent 34c89ea commit 8a416b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ runs:
205205
with:
206206
sarif_file: ${{ inputs.output }}
207207
- name: Upload SARIF as debug artefact
208-
# if we're in debug mode and we got results
209-
if: runner.debug == '1'
208+
if: ${{ always() && runner.debug == '1' && hashFiles(inputs.output) != '' }}
210209
uses: actions/upload-artifact@v3
211210
with:
212211
name: ${{ inputs.output }}

0 commit comments

Comments
 (0)