diff --git a/action.yml b/action.yml index 467a1e8..70486c0 100644 --- a/action.yml +++ b/action.yml @@ -32,10 +32,11 @@ runs: echo Compiling ${{inputs.checkout}}... cd ${{inputs.checkout}} export CC="${{inputs.compiler}}" - if ./configure --prefix=/usr --no-static && make; then - echo "Built ${{inputs.checkout}} properly" - else - # Fails? Do it again. - ./configure --prefix=/usr --no-static && make + ./configure --prefix=/usr --no-static + if ! make; then + # Fails? Do it again. Hopefully, it should have + # seen all of the schemas by then. + ./configure --prefix=/usr --no-static + make 2>&1 fi [ "${{inputs.install}}" = "true" ] && make install