[FIX] Use if correctly
This commit is contained in:
parent
679167b4ee
commit
4cbb5793f7
1 changed files with 5 additions and 3 deletions
|
@ -25,14 +25,16 @@ runs:
|
||||||
echo Downloading from "${{inputs.checkout}}"..
|
echo Downloading from "${{inputs.checkout}}"..
|
||||||
echo We are on "${{runner.os}}", requested as CC
|
echo We are on "${{runner.os}}", requested as CC
|
||||||
git clone https://git.telodendria.io/Telodendria/${{inputs.checkout}}
|
git clone https://git.telodendria.io/Telodendria/${{inputs.checkout}}
|
||||||
- name: Compiling Cytoplasm
|
- name: Compiling ${{inputs.checkout}}
|
||||||
id: compile
|
id: compile
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo Compiling Cytoplasm...
|
echo Compiling ${{inputs.checkout}}...
|
||||||
cd ${{inputs.checkout}}
|
cd ${{inputs.checkout}}
|
||||||
export CC="${{inputs.compiler}}"
|
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.
|
# Fails? Do it again.
|
||||||
./configure --prefix=/usr --no-static && make
|
./configure --prefix=/usr --no-static && make
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue