mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
use nvd
This commit is contained in:
parent
7e6aa1f57f
commit
54db18f61c
1 changed files with 2 additions and 4 deletions
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
|
@ -101,10 +101,8 @@ jobs:
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
||||||
diff=$(nix store diff-closures ./current ./updated)
|
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md
|
||||||
echo "$diff"
|
printf "```\n%s```\n" "$(nix run "nixpkgs#nvd" -- diff ./current ./updated)" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "$diff" >> summary.md
|
|
||||||
echo "$diff" | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' >> $GITHUB_STEP_SUMMARY
|
|
||||||
|
|
||||||
- run: df -h
|
- run: df -h
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue