mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-08 05:57:31 -06:00
link the results
This commit is contained in:
parent
4c8fccd973
commit
a86f4e9698
1 changed files with 16 additions and 5 deletions
21
.github/workflows/update.yml
vendored
21
.github/workflows/update.yml
vendored
|
@ -83,7 +83,7 @@ jobs:
|
||||||
- uses: ./.github/actions/nix
|
- uses: ./.github/actions/nix
|
||||||
with:
|
with:
|
||||||
attic_token: ${{ secrets.ATTIC_TOKEN }}
|
attic_token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
clean: true
|
# clean: true
|
||||||
btrfs: true
|
btrfs: true
|
||||||
|
|
||||||
- name: Pre-build oizys
|
- name: Pre-build oizys
|
||||||
|
@ -99,12 +99,12 @@ jobs:
|
||||||
--debug
|
--debug
|
||||||
--
|
--
|
||||||
--keep-going
|
--keep-going
|
||||||
--out-link current
|
--no-link
|
||||||
|
|
||||||
- run: git checkout flake-lock
|
- run: git show origin/flake-lock:flake.lock > updated.lock
|
||||||
|
|
||||||
- name: Pre-build oizys
|
- name: Pre-build oizys
|
||||||
run: nix build .
|
run: nix build . --reference-lock-file updated.lock
|
||||||
|
|
||||||
- name: Build Updated
|
- name: Build Updated
|
||||||
run: >
|
run: >
|
||||||
|
@ -116,9 +116,20 @@ jobs:
|
||||||
--debug
|
--debug
|
||||||
--
|
--
|
||||||
--keep-going
|
--keep-going
|
||||||
--out-link updated
|
--no-link
|
||||||
|
--reference-lock-file updated.lock
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
for host in othalan algiz mannaz naudiz; do
|
||||||
|
for rev in current updated; do
|
||||||
|
args="\"$(nix run . -- output --host $host)\" --out-link \"${host}-${rev}\""
|
||||||
|
[[ "$rev" == "updated" ]] && args="$args --reference-lock-file updated.lock"
|
||||||
|
nix build $args
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
- run: ls
|
- run: ls
|
||||||
|
|
||||||
# - 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
|
||||||
|
|
Loading…
Reference in a new issue