From 65ad08ce588b634b1ae20e1647186f5bc4494e84 Mon Sep 17 00:00:00 2001 From: Marco Eidinger Date: Mon, 6 Jan 2025 12:33:22 -0800 Subject: [PATCH] ci: fix error when running manual workflow --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b79d9f3..fabb594 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,10 @@ jobs: run: sudo xcode-select -p - name: Determine Xcode version based on iOS version run: | - if [[ ${{ env.iOSVersion }} == '17.0' ]]; then + if [[ -z "${{ env.iOSVersion }}" ]]; then + echo "iOSVersion is not set. Using latest Xcode version." + neededXcode='Xcode_16.1' + elif [[ ${{ env.iOSVersion }} == '17.0' ]]; then neededXcode='Xcode_16.1' else neededXcode='Xcode_15.4'