strip ansi

This commit is contained in:
Daylin Morgan 2024-07-16 12:20:24 -05:00
parent 8b001fb488
commit 52daf2551a
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -101,8 +101,11 @@ jobs:
- run: |
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
# TODO: deal with store diff-closures ansi outputs...
nix store diff-closures ./current ./updated | tee -a $GITHUB_STEP_SUMMARY summary.md
diff=$(nix store diff-closures ./current ./updated)
echo $diff
echo $diff >> summary.md
echo $diff | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' >> $GITHUB_STEP_SUMMARY
- run: df -h
- uses: actions/upload-artifact@v4