1
0
Fork 0
mirror of https://github.com/daylinmorgan/oizys.git synced 2025-01-07 09:27:31 -06:00

link the results

This commit is contained in:
Daylin Morgan 2024-11-19 11:54:53 -06:00
parent 4c8fccd973
commit a86f4e9698
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -83,7 +83,7 @@ jobs:
- uses: ./.github/actions/nix
with:
attic_token: ${{ secrets.ATTIC_TOKEN }}
clean: true
# clean: true
btrfs: true
- name: Pre-build oizys
@ -99,12 +99,12 @@ jobs:
--debug
--
--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
run: nix build .
run: nix build . --reference-lock-file updated.lock
- name: Build Updated
run: >
@ -116,9 +116,20 @@ jobs:
--debug
--
--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: |
# echo "# System Diff" >> $GITHUB_STEP_SUMMARY
# nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md