mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
test color enabled diff
This commit is contained in:
parent
be860401e3
commit
7d713f67e6
1 changed files with 11 additions and 0 deletions
11
.github/workflows/update.yml
vendored
11
.github/workflows/update.yml
vendored
|
@ -127,6 +127,7 @@ jobs:
|
||||||
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
||||||
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md
|
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
|
printf '```\n%s```\n' "$(nix run "nixpkgs#nvd" -- diff ./current ./updated)" >> $GITHUB_STEP_SUMMARY
|
||||||
|
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated | nix run "nixpkgs#charm-freeze" -- --output diff.svg
|
||||||
|
|
||||||
- run: df -h
|
- run: df -h
|
||||||
|
|
||||||
|
@ -134,3 +135,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.host }}-summary
|
name: ${{ matrix.host }}-summary
|
||||||
path: summary.md
|
path: summary.md
|
||||||
|
|
||||||
|
# https://github.com/actions/upload-artifact/issues/50#issuecomment-1856471599
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
id: diff-upload
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.host }}-diff
|
||||||
|
path: diff.svg
|
||||||
|
|
||||||
|
- name: Output artifact URL
|
||||||
|
run: echo 'Artifact URL is ${{ steps.diff-upload.outputs.artifact-url }}'
|
||||||
|
|
Loading…
Reference in a new issue