diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 917025c0..324b949e 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -250,13 +250,14 @@ jobs: echo "Attempting to download artifact: $artifact_name" if gh run download --name "$artifact_name" --dir ./; then echo "Successfully downloaded artifact: $artifact_name" - value=$(cat "$file_path") - kernel_versions+=($(echo "$value" | jq -r '.[]')) + value=$(jq -r '.[]' "$file_path") + kernel_versions+=($value) echo "matrix_values_not_empty=1" >> $GITHUB_OUTPUT fi done echo "Collected Kernel Versions: ${kernel_versions[@]}" combined_values=$(printf '%s\n' "${kernel_versions[@]}" | jq -R . | jq -s .) + echo "Combined Kernel Versions JSON: $combined_values" echo "matrix_values=$combined_values" >> $GITHUB_OUTPUT