Skip to content

Commit 0fdb94d

Browse files
committed
fix build
1 parent 398e694 commit 0fdb94d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build-llvm-artifacts.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,18 +325,23 @@ jobs:
325325
echo "📋 Checksum:"
326326
cat ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.zip.sha256
327327
echo ""
328-
echo "📊 Package Contents:"
329-
7z l ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.zip | head -30
328+
echo "📊 Package Contents (first 20 entries):"
329+
# Ignore broken pipe so 7z listing doesn't fail the step
330+
set +e
331+
7z l ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.zip | head -20
332+
set -e
330333
else
331334
ls -lh ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.tar.gz
332335
echo ""
333336
echo "📋 Checksum:"
334337
cat ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.tar.gz.sha256
335338
echo ""
336-
echo "📊 Package Contents:"
339+
echo "📊 Package Contents (first 20 entries):"
340+
# Ignore broken pipe so tar listing doesn't fail the step
341+
set +e
337342
tar -tzf ${{ env.ARTIFACT_NAME }}-${{ matrix.platform }}-x64.tar.gz | head -20
343+
set -e
338344
fi
339-
echo "... (showing first 20 files)"
340345
shell: bash
341346

342347
create-release:

0 commit comments

Comments
 (0)