Skip to content

Commit

Permalink
[ci] fix diff executable not found issue
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and sequencer committed May 14, 2024
1 parent 245a4e5 commit 063236a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/daily-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ jobs:
old=$(showCirctClosure)
nix flake update nixpkgs-for-circt
new=$(showCirctClosure)
if diff -u <(echo $old) <(echo $new); then
diff_bin="$(nix build '.#diffutils' --no-link --print-out-paths)/bin/diff"
if "$diff_bin" -u <(echo $old) <(echo $new); then
# if unchanged
git restore flake.lock
fi
Expand Down

0 comments on commit 063236a

Please sign in to comment.