fix readdiff

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-07-04 01:55:36 -04:00 committed by Alice Huston
parent 07b6d4871f
commit e9043f7bd5

View File

@ -34,8 +34,14 @@ jobs:
run: nix ./utils/diff-evals.sh
- name: Read diff into environment
run: |
postdiff=$(cat post-diff)
echo "POSTDIFF=$postdiff" >> $GITHUB_ENV
delimiter="$(openssl rand -hex 8)"
{
echo "POSTDIFF=${delimiter}"
cat post-diff
echo "${delimiter}"
} >> $GITHUB_ENV
- name: Restore flake.lock for next step
run: git restore flake.lock
- name: Update flake.lock