File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -54,26 +54,18 @@ jobs:
5454
5555 - name : Compare builds and archive artifacts
5656 run : |
57- sudo apt-get update
58- sudo apt-get install -y diffoscope
5957 # Ensure the directories exist
6058 if [[ ! -d "../buildA" || ! -d "../buildA_extended" ]]; then
6159 echo "Error: Build directories not found!"
6260 exit 1
6361 fi
6462
6563 # 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!"
6765
6866 tar -czf buildA.tar.gz ../buildA
6967 tar -czf buildA_extended.tar.gz ../buildA_extended
7068
71- - name : Upload diffoscope output
72- uses : actions/upload-artifact@v4
73- with :
74- name : diffoscope-report
75- path : diffoscope_output.txt
76-
7769 - name : Upload buildA artifact
7870 uses : actions/upload-artifact@v4
7971 with :
You can’t perform that action at this time.
0 commit comments