Skip to content

Commit 737ab87

Browse files
committed
ci: fix syntax error in inline build script
1 parent 0dbf6a0 commit 737ab87

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/apple.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,16 +188,16 @@ jobs:
188188
export APPLE_HOST_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
189189
190190
if [ "${{ matrix.triple }}" = "aarch64-apple-darwin" ]; then
191-
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
191+
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
192192
elif [ "${{ matrix.triple }}" = "aarch64-apple-ios" ]; then
193-
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk
194-
if [ "${{ matrix.triple }}" = "x86_64-apple-darwin" ]; then
195-
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
193+
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk
194+
elif [ "${{ matrix.triple }}" = "x86_64-apple-darwin" ]; then
195+
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
196196
elif [ "${{ matrix.triple }}" = "x86_64-apple-ios" ]; then
197-
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk
197+
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk
198198
else
199-
echo "unhandled target triple: ${{ matrix.triple }}"
200-
exit 1
199+
echo "unhandled target triple: ${{ matrix.triple }}"
200+
exit 1
201201
fi
202202
fi
203203

0 commit comments

Comments
 (0)