Skip to content

Commit 7cf5967

Browse files
committed
ending heredoc on its own line
1 parent 8172e79 commit 7cf5967

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ runs:
6565
echo -n "$(trim "$PROCESSED")"
6666
}
6767
68-
RAW_DIMENSIONS=$(cat << END_OF_DIMENSIONS
68+
RAW_DIMENSIONS=$(cat <<'END_OF_DIMENSIONS'
6969
${{ inputs.dimensions }}
70-
END_OF_DIMENSIONS )
70+
END_OF_DIMENSIONS
71+
)
7172
72-
RAW_METRICS=$(cat << END_OF_METRICS
73+
RAW_METRICS=$(cat <<'END_OF_METRICS'
7374
${{ inputs.metrics }}
74-
END_OF_METRICS )
75+
END_OF_METRICS
76+
)
7577
7678
NAMESPACE="--namespace \"${{ inputs.namespace }}\""
7779
DIMENSIONS="$(format "--dimension" "$RAW_DIMENSIONS")"

0 commit comments

Comments
 (0)