Skip to content

Commit 2b8c055

Browse files
committed
test matrix name
1 parent 38ea63b commit 2b8c055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/workflow-metrics/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ runs:
2323
2424
# Build job name with matrix values
2525
job_name="${{ github.job }}"
26-
if [ -z "${{ matrix.java-version }}" ]; then
26+
if [ ! -z "${{ matrix.java-version || '' }}" ]; then
2727
job_name="${job_name}(${{ matrix.java-version }})"
2828
fi
29-
if [ -z "${{ matrix.os }}" ]; then
29+
if [ ! -z "${{ matrix.os || '' }}" ]; then
3030
job_name="${job_name}(${{ matrix.os }})"
3131
fi
3232

0 commit comments

Comments
 (0)