Skip to content

Commit

Permalink
new(action): add report name suffix to prevent conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <[email protected]>
  • Loading branch information
LucaGuerra authored and poiana committed Dec 18, 2024
1 parent de697c1 commit f3ca61a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ inputs:
description: 'Specify a sudo command. Put it empty when sudo is not available.'
required: false
default: 'sudo'
report-name-suffix:
description: 'A suffix for the testing report name which will be uploaded to GitHub'
required: false
default: ''

outputs:
report:
Expand Down Expand Up @@ -127,7 +131,7 @@ runs:
if: always() # note: upload the report even if tests fail
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: falcosecurity-testing-report-${{ runner.arch }}
name: falcosecurity-testing-report-${{ runner.arch }}${{ inputs.report-name-suffix }}
path: |
${{ steps.store-outputs.outputs.report }}
${{ steps.store-outputs.outputs.report_txt }}

0 comments on commit f3ca61a

Please sign in to comment.