Skip to content

Commit 193b0a8

Browse files
committed
ci: fix iOS SDK cloning for workflow calls
1 parent 97535e2 commit 193b0a8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ jobs:
107107
# Clone iOS SDK if ios_version is provided
108108
if [ -n "${{ inputs.ios_version }}" ]; then
109109
echo "Cloning iOS SDK..."
110-
cd ..
111-
git clone https://github.com/OneSignal/OneSignal-iOS-SDK.git
112-
cd OneSignal-iOS-SDK && git checkout ${{ inputs.ios_version }} && cd ../OneSignal-DotNet-SDK
110+
git clone --branch ${{ inputs.ios_version }} --depth 1 https://github.com/OneSignal/OneSignal-iOS-SDK.git ../OneSignal-iOS-SDK
113111
fi
114112
115113
echo "Running update_native_binaries.sh..."

0 commit comments

Comments
 (0)