mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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