From fdbaea720b8cb98ba0b7cf72c7efab81abe3a443 Mon Sep 17 00:00:00 2001 From: Alessandro Muntoni Date: Thu, 1 Feb 2024 11:56:22 +0100 Subject: [PATCH] fix composite action if statements --- .github/actions/0_setup/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/0_setup/action.yml b/.github/actions/0_setup/action.yml index b38ecdbf8..68e0c3a2a 100644 --- a/.github/actions/0_setup/action.yml +++ b/.github/actions/0_setup/action.yml @@ -22,18 +22,18 @@ runs: run: | echo "Install Qt Action: ${{ inputs.use-jurpel-qt-action }}" - name: Install Qt - if: ${{ inputs.use-jurpel-qt-action }} + if: inputs.use-jurpel-qt-action == 'true' uses: jurplel/install-qt-action@v3 with: cache: true version: ${{ inputs.qt-version }} - name: Install dependencies - if: ${{ inputs.use-jurpel-qt-action }} + if: inputs.use-jurpel-qt-action == 'true' shell: bash run: | bash scripts/${{ runner.os }}/0_setup_env.sh --dont_install_qt - name: Install dependencies - if: ${{ !inputs.use-jurpel-qt-action }} + if: inputs.use-jurpel-qt-action == 'false' shell: bash run: | bash scripts/${{ runner.os }}/0_setup_env.sh \ No newline at end of file