ci: show build failures directly in job log output
[openwrt/staging/pepe2k.git] / .github / workflows / tools.yml
index 4e423fdd6292c3346cca44804040f65699224d44..b97f0599e2250a92b1f6e14ccaf755b288b4f20e 100644 (file)
@@ -123,7 +123,7 @@ jobs:
       - name: Build tools
         run: |
           cd "$WORKPATH"
-          make tools/install -j$(nproc) BUILD_LOG=1
+          make tools/install -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
 
       - name: Move logs to GITHUB_WORKSPACE
         if: always()