File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 6262 echo "Build Path $file"
6363
6464 # Run the build script for the current language, passing the project directory and extra path
65- <<<<<<< HEAD
6665 echo "::group::Building $file"
6766 # Run the build command and capture output to both the log file and stdout
6867 ../scripts/build-${language}.sh "$file" 2>&1 | tee "$log_file"
8988 else
9089 echo "❌ Build failed for $file with exit code $exit_code"
9190 echo "::error::Build failed for $file with exit code $exit_code"
92- =======
93- echo "::group::$file"
94- if ../scripts/build-${language}.sh "$file" > "$log_file" 2>&1; then
95- echo "::endgroup::"
96- return 0
97- else
98- local exit_code=$?
99- echo "::endgroup::"
100- echo "::group::Error details for $file"
101- cat "$log_file"
102- echo "::endgroup::"
103- echo "::error::Build failed for $file with exit code $exit_code"
104- return $exit_code
105- >>>>>>> 0eba763 (Fix build-pull-request to display errors)
10691 fi
10792 echo "::endgroup::"
10893 return $exit_code
You can’t perform that action at this time.
0 commit comments