Skip to content

Commit fd91a2c

Browse files
committed
Include OS version for Firebase AI Logic
1 parent a5aed0f commit fd91a2c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/firebaseai.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
SPM: true
4343
DIR: firebaseai
4444
OS: ${{ matrix.platform }}
45+
VERSION: ${{ matrix.ios_version }}
4546
DEVICE: ${{ matrix.device }}
4647
TEST: false
4748
steps:

scripts/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ flags+=( -scheme "$SCHEME" )
9898
# Set destination
9999
if [[ "$OS" == iOS ]]; then
100100
DESTINATION="platform=iOS Simulator,name=${DEVICE}"
101+
if [[ -n "${VERSION:-}" ]]; then
102+
DESTINATION+=",OS=${VERSION}"
103+
fi
101104
flags+=( -destination "$DESTINATION" )
102105
elif [[ "$OS" == tvOS ]]; then
103106
DESTINATION="platform=tvOS Simulator,name=${DEVICE}"

0 commit comments

Comments
 (0)