integrate flake-update-diff
This commit is contained in:
parent
fd7a8204c3
commit
9630a1cee1
24
.github/workflows/flake-update.yml
vendored
24
.github/workflows/flake-update.yml
vendored
@ -28,23 +28,23 @@ jobs:
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- name: Calculate pre-drv
|
||||
run: nix ./utils/eval-to-drv.sh pre
|
||||
run: nix run git+https://nayeonie.com/ahuston-0/flake-update-diff --keep-hydra .
|
||||
# - name: Pull latest docker images
|
||||
# run: nix ./utils/fetch-docker.sh
|
||||
- name: Update flake.lock (part 1)
|
||||
run: nix flake update
|
||||
- name: Calculate post-drv
|
||||
run: nix ./utils/eval-to-drv.sh post
|
||||
- name: Calculate diff
|
||||
run: nix ./utils/diff-evals.sh
|
||||
- name: Read diff into environment
|
||||
run: |
|
||||
delimiter="$(openssl rand -hex 8)"
|
||||
{
|
||||
echo "POSTDIFF<<${delimiter}"
|
||||
cat post-diff
|
||||
echo "${delimiter}"
|
||||
} >> $GITHUB_ENV
|
||||
run: nix run git+https://nayeonie.com/ahuston-0/flake-update-diff --keep-hydra .
|
||||
# - name: Calculate diff
|
||||
# run: nix ./utils/diff-evals.sh
|
||||
# - name: Read diff into environment
|
||||
# run: |
|
||||
# delimiter="$(openssl rand -hex 8)"
|
||||
# {
|
||||
# echo "POSTDIFF<<${delimiter}"
|
||||
# cat post-diff
|
||||
# echo "${delimiter}"
|
||||
# } >> $GITHUB_ENV
|
||||
|
||||
|
||||
- name: Restore flake.lock for next step
|
||||
|
Loading…
x
Reference in New Issue
Block a user