Skip to content

Commit eab82ae

Browse files
Merge pull request #1419 from square/sedwards/unit-tests-action-update
Clean up Test Specification in our Github Actions
2 parents 1935fc7 + d1d9b43 commit eab82ae

File tree

5 files changed

+183
-96
lines changed

5 files changed

+183
-96
lines changed

.github/actions/gradle-task/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ inputs:
2323
failure-path-upload:
2424
description: 'The relative path to a desired log for upload if the task fails.'
2525
default: 'null'
26+
failure-upload-name:
27+
description: 'The name for the upload of failure reports.'
28+
default: 'specified-upload'
2629

2730
runs:
2831
using: 'composite'
@@ -149,6 +152,6 @@ runs:
149152
if: failure() && inputs.failure-path-upload != 'null'
150153
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
151154
with:
152-
name: specified-upload
155+
name: ${{inputs.failure-upload-name}}
153156
path: ${{github.workspace}}/${{inputs.failure-path-upload}}
154157

0 commit comments

Comments
 (0)