fix composite action if statements

This commit is contained in:
Alessandro Muntoni 2024-02-01 11:56:22 +01:00
parent e3741b217e
commit fdbaea720b

View File

@ -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