add summary to outputs

This commit is contained in:
Daylin Morgan 2024-07-16 11:06:55 -05:00
parent ef945c104b
commit 8b001fb488
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -101,15 +101,10 @@ jobs:
- run: | - run: |
echo "# System Diff" >> $GITHUB_STEP_SUMMARY echo "# System Diff" >> $GITHUB_STEP_SUMMARY
nix store diff-closures ./current ./updated | tee -a $GITHUB_STEP_SUMMARY # TODO: deal with store diff-closures ansi outputs...
nix store diff-closures ./current ./updated | tee -a $GITHUB_STEP_SUMMARY summary.md
- run: df -h - run: df -h
# is this necessary?
- run: echo $GITHUB_STEP_SUMMARY
- run: cat $GITHUB_STEP_SUMMARY > summary.md
- run: cat summary.md
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: summary name: summary