From 4750175f9ebf9194bfe5d452873321258f2a2771 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Wed, 23 Apr 2025 16:46:01 +0200 Subject: [PATCH] Installer: Properly include Android platform `if (true)` is not valid PowerShell. This updates the test to properly include the Android platform if needed. --- .github/workflows/swift-toolchain.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift-toolchain.yml b/.github/workflows/swift-toolchain.yml index e0fce7e4a..1ae41e334 100644 --- a/.github/workflows/swift-toolchain.yml +++ b/.github/workflows/swift-toolchain.yml @@ -4348,8 +4348,8 @@ jobs: - name: Build installer bundle run: | - $Platforms=@( "windows" ) - if (${{ inputs.build_android }}) { + $Platforms=@("windows") + if ("${{ inputs.build_android }}" -eq "true") { $Platforms=@("android") + $Platforms }