Skip to content

Commit e1289ac

Browse files
tuedajodavies
authored andcommitted
ci: summarize files for distribution
1 parent b250572 commit e1289ac

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,13 @@ jobs:
381381
make_tar_gz arm64-osx '*-macos-14/*form'
382382
make_zip x86_64-windows '*-windows-2019/*form.exe'
383383
384-
- name: Print distributions
385-
run: ls -l dist
384+
- name: Summarize files for distribution
385+
run: |
386+
echo "Number of files: $(ls -1 dist | wc -l)" >> $GITHUB_STEP_SUMMARY
387+
echo '' >> $GITHUB_STEP_SUMMARY
388+
echo '| File Name | Size (bytes) |' >> $GITHUB_STEP_SUMMARY
389+
echo '| --- | ---: |' >> $GITHUB_STEP_SUMMARY
390+
ls -l dist | tail -n +2 | awk '{ printf "| %s | %s |\n", $9, $5 }' >> $GITHUB_STEP_SUMMARY
386391
387392
# Upload the distributions as an artifact, regardless of whether
388393
# the commit has a versioning tag. This makes checking and debugging easy.

0 commit comments

Comments
 (0)