From b4026dd121be80f34c33e28df6d1b56c97dd4517 Mon Sep 17 00:00:00 2001
From: Sergio Martins <sergio.martins@kdab.com>
Date: Fri, 10 Jan 2025 12:52:59 +0000
Subject: [PATCH] ci: Don't install Qt when running on self-hosted

The previous condition doesn't seem to work
---
 .github/workflows/build.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index da193e70f..3b782f563 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -67,13 +67,12 @@ jobs:
 
     steps:
       - name: Install Qt ${{ matrix.preset.qt_version }} with options and default aqtversion
-        if: env.IS_SELFHOSTED == null || env.IS_SELFHOSTED == ''
+        if: ${{ !defined(env.IS_SELFHOSTED) }}
         uses: jurplel/install-qt-action@v4
         with:
           version: ${{ matrix.preset.qt_version }}
           cache: true
 
-
       - name: Install dependencies on Ubuntu (${{ join(matrix.preset.apt_pgks, ' ') }})
         if: ${{ runner.os == 'Linux' && matrix.preset.apt_pgks }}
         run: |