We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09d6416 commit 1da6be5Copy full SHA for 1da6be5
1 file changed
.github/workflows/check-build-reproducibility.yml
@@ -66,7 +66,11 @@ jobs:
66
67
- name: Compare builds
68
run: |
69
- diff -qr ${PATH1} ${PATH2} || (echo "Build mismatch detected" && exit 1)
+ diff -qr ${PATH1} ${PATH2}
70
+ if [ $? -ne 0 ]; then
71
+ echo "Build mismatch detected"
72
+ exit 1
73
+ fi
74
echo "Builds are identical"
75
76
check-reproducibility-c-windows:
@@ -164,11 +168,9 @@ jobs:
164
168
165
169
166
170
167
- hash1="$(sha1sum ./install/${{ env.PRESET }}-1/lib/libpower_grid_model_c.dylib)"
- hash2="$(sha1sum ./install/${{ env.PRESET }}-2/lib/libpower_grid_model_c.dylib)"
- if [ "$hash1" != "$hash2" ]; then
171
172
173
echo "Build mismatch detected"
174
exit 1
- else
- echo "Builds are identical"
175
fi
176
+ echo "Builds are identical"
0 commit comments