don't use broken freeze

This commit is contained in:
Daylin Morgan 2024-09-05 23:19:34 -05:00
parent 86b1d94995
commit b872208718
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -95,40 +95,41 @@ jobs:
- name: Build - name: Build
run: | run: >
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .) nix run .
nix run . \ --
-- \ build
build $system_attr \ $(nix run . -- output --host "${{ matrix.host }}" --flake .)
--flake . \ --flake .
--debug \ --debug
-- \ --
--print-build-logs \ --keep-going
--print-build-logs
--out-link current --out-link current
- run: git checkout flake-lock - run: git checkout flake-lock
- name: Pre-build oizys - name: Pre-build oizys
run: nix build . run: nix build .
- name: Build Updated - name: Build Updated
run: | run: >
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .) nix run .
nix run . \ --
-- \ build
build $system_attr \ $(nix run . -- output --host "${{ matrix.host }}" --flake .)
--flake . \ --flake .
--debug \ --debug
-- \ --
--keep-going \ --keep-going
--print-build-logs \ --print-build-logs
--out-link updated --out-link updated
- run: | - run: |
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
@ -136,13 +137,3 @@ 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 }}'