Skip to content

Commit 9408a01

Browse files
committed
Revert warnings print
1 parent d9c5b1f commit 9408a01

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/actions/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ 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" | base64 -w 0 || true)
459-
echo "$WARNINGS" | base64 --decode > "$OUT/warnings.txt"
458+
echo "$WARNINGS_COUNT" > "$OUT/warnings.txt"
460459
file "$IMG" > "$OUT/Image.file"
461460
KERNEL_UNAME=$(strings "$IMG" | grep -E 'Linux version.*#' | tail -n1)
462461
echo "Kernel Uname: $KERNEL_UNAME"
@@ -474,7 +473,6 @@ runs:
474473
IMAGE_SHA256=$(cut -d' ' -f1 "$OUT/Image.sha256")
475474
echo "Image sha256: $IMAGE_SHA256"
476475
echo "warnings_count=$WARNINGS_COUNT" >> "$GITHUB_OUTPUT"
477-
echo "warnings=$WARNINGS" >> "$GITHUB_OUTPUT"
478476
echo "image_sha256=$IMAGE_SHA256" >> "$GITHUB_OUTPUT"
479477
480478
- name: Create Kernel ZIP
@@ -528,7 +526,6 @@ runs:
528526
echo "Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
529527
echo "Compiler: ${CLANG_VERSION:-unknown}"
530528
echo "Warnings Count: ${{ steps.collect_stats.outputs.warnings_count }}"
531-
echo "Warnings: ${{ steps.collect_stats.outputs.warnings }}" | base64 --decode
532529
} | tee summary.txt
533530
{
534531
echo "### Kernel Build Summary"
@@ -542,7 +539,6 @@ runs:
542539
echo "- Optimization: ${{ inputs.optimize_level }}"
543540
echo "- Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
544541
echo "- Warnings Count: ${{ steps.collect_stats.outputs.warnings_count }}"
545-
echo "- Warnings: ${{ steps.collect_stats.outputs.warnings }}" | base64 --decode
546542
} >> "$GITHUB_STEP_SUMMARY"
547543
548544
- name: Upload Artifacts

0 commit comments

Comments
 (0)