diff --git a/.github/workflows/xcodebuild-or-fastlane.yml b/.github/workflows/xcodebuild-or-fastlane.yml index bff18fe..724b197 100644 --- a/.github/workflows/xcodebuild-or-fastlane.yml +++ b/.github/workflows/xcodebuild-or-fastlane.yml @@ -372,7 +372,7 @@ jobs: ENABLE_TESTING_FLAG="" fi - if [ -z "${{ inputs.swiftVersion }}"]; then + if [ -n "${{ inputs.swiftVersion }}" ]; then SWIFT_VERSION_FLAG="-swift-version ${{ inputs.swiftVersion }}" else SWIFT_VERSION_FLAG=""