This commit is contained in:
Daylin Morgan 2024-07-17 12:34:27 -05:00
parent 7e6aa1f57f
commit 54db18f61c
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -101,10 +101,8 @@ jobs:
- run: |
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
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
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md
printf "```\n%s```\n" "$(nix run "nixpkgs#nvd" -- diff ./current ./updated)" >> $GITHUB_STEP_SUMMARY
- run: df -h