From 4cbb5793f767e68943df5af68087cc16182a04b9 Mon Sep 17 00:00:00 2001 From: lda Date: Thu, 2 Nov 2023 16:03:18 -0400 Subject: [PATCH] [FIX] Use if correctly --- action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 9a55b05..467a1e8 100644 --- a/action.yml +++ b/action.yml @@ -25,14 +25,16 @@ runs: echo Downloading from "${{inputs.checkout}}".. echo We are on "${{runner.os}}", requested as CC git clone https://git.telodendria.io/Telodendria/${{inputs.checkout}} - - name: Compiling Cytoplasm + - name: Compiling ${{inputs.checkout}} id: compile shell: bash run: | - echo Compiling Cytoplasm... + echo Compiling ${{inputs.checkout}}... cd ${{inputs.checkout}} export CC="${{inputs.compiler}}" - if [ ! ./configure --prefix=/usr --no-static && make ]; then + if ./configure --prefix=/usr --no-static && make; then + echo "Built ${{inputs.checkout}} properly" + else # Fails? Do it again. ./configure --prefix=/usr --no-static && make fi