diff --git a/.github/workflows/X-x86_64_X.yml b/.github/workflows/X-x86_64_X.yml index 208317e..9f44bdf 100644 --- a/.github/workflows/X-x86_64_X.yml +++ b/.github/workflows/X-x86_64_X.yml @@ -220,7 +220,10 @@ jobs: ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome # 2024.03.03 mosdns build fail by golang 1.22 sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile - make -j4 | tee ./build_log.log || make -j1 V=s + make -j4 2>&1 | tee build_log.log + if [ "${PIPESTATUS[0]}" -ne 0 ]; then + make -j1 V=s + fi [ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV