We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a010ef commit 0a36b67Copy full SHA for 0a36b67
.github/actions/artifact-size-metrics/utils/calculate-and-upload/cloudwatch.sh
@@ -13,7 +13,7 @@ uploadToCloudwatch() {
13
artifactSize=$(echo "$artifactSize" | xargs)
14
15
# Build metric JSON
16
- metrics+=$(jq -n \
+ metrics+=("jq -n \
17
--arg name "$GITHUB_REPOSITORY-$artifactName" \
18
--arg value "$artifactSize" \
19
--arg project "$GITHUB_REPOSITORY" \
@@ -26,7 +26,7 @@ uploadToCloudwatch() {
26
{ Name: "Project", Value: $project }
27
]
28
}'
29
- )
+ )")
30
done < "$metrics_file"
31
32
namespace="Artifact Size Metrics"
0 commit comments