File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 6161 rm -rf build
6262 cd ..
6363
64+ - name : Install diffoscope
65+ run : |
66+ sudo apt-get update
67+ sudo apt-get install -y diffoscope
68+
6469 - name : Compare builds using git diff
6570 run : |
6671 # Go back to the root directory
7378 fi
7479
7580 # Perform a diff between the two builds
76- diff -r buildA/stage1 buildA_extended/stage1 || echo "Differences found!"
81+ diffoscope buildA/stage1 buildA_extended/stage1 > diffoscope_output.txt || echo "Differences found!"
82+
83+ - name : Upload diffoscope output
84+ uses : actions/upload-artifact@v4
85+ with :
86+ name : diffoscope-report
87+ path : diffoscope_output.txt
88+
89+ - name : Archive buildA and buildA_extended
90+ run : |
91+ tar -czf buildA.tar.gz buildA
92+ tar -czf buildA_extended.tar.gz buildA_extended
93+
94+ - name : Upload buildA artifact
95+ uses : actions/upload-artifact@v4
96+ with :
97+ name : buildA
98+ path : buildA.tar.gz
99+
100+ - name : Upload buildA_extended artifact
101+ uses : actions/upload-artifact@v4
102+ with :
103+ name : buildA_extended
104+ path : buildA_extended.tar.gz
You can’t perform that action at this time.
0 commit comments