mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-14 09:57:33 -06:00
Compare commits
2 commits
0af0462bd6
...
5fba8d66e3
Author | SHA1 | Date | |
---|---|---|---|
5fba8d66e3 | |||
b872208718 |
2 changed files with 29 additions and 38 deletions
55
.github/workflows/update.yml
vendored
55
.github/workflows/update.yml
vendored
|
@ -95,16 +95,18 @@ 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
|
||||||
--out-link current
|
--print-build-logs
|
||||||
|
--out-link current
|
||||||
|
|
||||||
|
|
||||||
- run: git checkout flake-lock
|
- run: git checkout flake-lock
|
||||||
|
|
||||||
|
@ -112,23 +114,22 @@ jobs:
|
||||||
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 }}'
|
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -744,11 +744,11 @@
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725578788,
|
"lastModified": 1725585569,
|
||||||
"narHash": "sha256-026yfXvGxjLepPGOLzk+Vr4R4kxdAlxXeozKsuCMNi4=",
|
"narHash": "sha256-mZLzdIWIe3SGKLbGkjK4CKP59BoX3RmJHi7nlQxL9pA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs-wayland",
|
"repo": "nixpkgs-wayland",
|
||||||
"rev": "1ac87697588396d1d5cbdcffa075ca7f1a73cdc9",
|
"rev": "24757efbe662a14bcbfb8b12541ea5f0fb5638a8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -900,11 +900,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725557788,
|
"lastModified": 1725586004,
|
||||||
"narHash": "sha256-mPw63Fk1veQx18OVQijlvKbxxXF1uzI8N+0pF/tDnqE=",
|
"narHash": "sha256-CHf/zb8d2KIrLyItsyvcDOULuO5wwh+qDDt2qoIPePQ=",
|
||||||
"owner": "roc-lang",
|
"owner": "roc-lang",
|
||||||
"repo": "roc",
|
"repo": "roc",
|
||||||
"rev": "640bd15ca1dcf82bebe6a357e1a384b3ffdd4658",
|
"rev": "54cd967ec4db4427a33396f44675757ec3f27cc2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in a new issue