File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -54,26 +54,18 @@ jobs:
54
54
55
55
- name : Compare builds and archive artifacts
56
56
run : |
57
- sudo apt-get update
58
- sudo apt-get install -y diffoscope
59
57
# Ensure the directories exist
60
58
if [[ ! -d "../buildA" || ! -d "../buildA_extended" ]]; then
61
59
echo "Error: Build directories not found!"
62
60
exit 1
63
61
fi
64
62
65
63
# Perform a diff between the two builds
66
- diffoscope ../buildA/stage2 ../buildA_extended/stage2 > diffoscope_output.txt || echo "Differences found!"
64
+ diff -r ../buildA/stage2 ../buildA_extended/stage2 || echo "Differences found!"
67
65
68
66
tar -czf buildA.tar.gz ../buildA
69
67
tar -czf buildA_extended.tar.gz ../buildA_extended
70
68
71
- - name : Upload diffoscope output
72
- uses : actions/upload-artifact@v4
73
- with :
74
- name : diffoscope-report
75
- path : diffoscope_output.txt
76
-
77
69
- name : Upload buildA artifact
78
70
uses : actions/upload-artifact@v4
79
71
with :
You can’t perform that action at this time.
0 commit comments