Skip to content

Commit 75b0d40

Browse files
authored
feat: add artifact name argument for clang-tidy action (#360)
Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
1 parent 20155d9 commit 75b0d40

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

clang-tidy/action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ inputs:
4040
description: Path to the underlay workspace containing setup.sh
4141
default: ""
4242
required: false
43+
artifact-name:
44+
description: Name of the artifact to upload
45+
default: clang-tidy-result
46+
required: false
4347

4448
runs:
4549
using: composite
@@ -172,7 +176,7 @@ runs:
172176
if: ${{ steps.check-report-log-existence.outputs.exists == 'true' && steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
173177
uses: actions/upload-artifact@v4
174178
with:
175-
name: clang-tidy-result
179+
name: ${{ inputs.artifact-name }}
176180
path: /tmp/clang-tidy-result/
177181

178182
- name: Mark the workflow as failed if clang-tidy find an error

0 commit comments

Comments
 (0)