diff --git a/action.yml b/action.yml index bbf60e6..9a55b05 100644 --- a/action.yml +++ b/action.yml @@ -32,5 +32,8 @@ runs: echo Compiling Cytoplasm... cd ${{inputs.checkout}} export CC="${{inputs.compiler}}" - ./configure --prefix=/usr --no-static && make + if [ ! ./configure --prefix=/usr --no-static && make ]; then + # Fails? Do it again. + ./configure --prefix=/usr --no-static && make + fi [ "${{inputs.install}}" = "true" ] && make install