@@ -455,8 +455,8 @@ runs:
455455 OUT="$COMMON/out"
456456 IMG="$OUT/arch/arm64/boot/Image"
457457 WARNINGS_COUNT=$(grep -i -E 'warning:' "$COMMON/build.log" | wc -l || true)
458- WARNINGS=$(grep -i -E 'warning:' "$COMMON/build.log" || true)
459- echo "$WARNINGS" > "$OUT/warnings.txt"
458+ WARNINGS=$(grep -i -E 'warning:' "$COMMON/build.log" | base64 -w 0 | | true)
459+ echo "$WARNINGS" | base64 --decode > "$OUT/warnings.txt"
460460 file "$IMG" > "$OUT/Image.file"
461461 KERNEL_UNAME=$(strings "$IMG" | grep -E 'Linux version.*#' | tail -n1)
462462 echo "Kernel Uname: $KERNEL_UNAME"
@@ -528,7 +528,7 @@ runs:
528528 echo "Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
529529 echo "Compiler: ${CLANG_VERSION:-unknown}"
530530 echo "Warnings Count: ${{ steps.collect_stats.outputs.warnings_count }}"
531- echo "Warnings: ${{ steps.collect_stats.outputs.warnings }}"
531+ echo "Warnings: ${{ steps.collect_stats.outputs.warnings }}" | base64 --decode
532532 } | tee summary.txt
533533 {
534534 echo "### Kernel Build Summary"
@@ -542,7 +542,7 @@ runs:
542542 echo "- Optimization: ${{ inputs.optimize_level }}"
543543 echo "- Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
544544 echo "- Warnings Count: ${{ steps.collect_stats.outputs.warnings_count }}"
545- echo "- Warnings: ${{ steps.collect_stats.outputs.warnings }}"
545+ echo "- Warnings: ${{ steps.collect_stats.outputs.warnings }}" | base64 --decode
546546 } >> "$GITHUB_STEP_SUMMARY"
547547
548548 - name : Upload Artifacts
0 commit comments