@@ -11,12 +11,25 @@ jobs:
1111 unit-tests :
1212 runs-on : macos-15
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1515 with :
1616 ref : ${{ inputs.branch }}
1717 - uses : maxim-lobanov/setup-xcode@v1
1818 with :
1919 xcode-version : latest-stable
20+ - name : Setup Java 17
21+ uses : actions/setup-java@v5
22+ with :
23+ distribution : ' temurin'
24+ java-version : ' 17'
25+ - name : Checkout kmp-common-sdk (local path dependency)
26+ run : |
27+ git clone --depth 1 https://github.com/mindbox-cloud/kmp-common-sdk.git ../kmp-common-sdk
28+ - name : Build MindboxCommon XCFramework from kmp-common-sdk
29+ working-directory : ../kmp-common-sdk
30+ run : |
31+ chmod +x make-ios-framework.sh
32+ ./make-ios-framework.sh
2033 - name : Update bundler
2134 run : gem install bundler
2235 - name : Install bundler dependencies
2841 needs : [unit-tests]
2942 runs-on : ubuntu-latest
3043 steps :
31- - uses : actions/checkout@v4
44+ - uses : actions/checkout@v5
3245 with :
3346 ref : ${{ inputs.branch }}
3447 - name : Extract SDK version
4558 needs : [set-tag]
4659 runs-on : macos-15
4760 steps :
48- - uses : actions/checkout@v4
61+ - uses : actions/checkout@v5
4962 with :
5063 ref : ${{ inputs.branch }}
5164 - name : Update bundler
7083 needs : [delay]
7184 runs-on : macos-15
7285 steps :
73- - uses : actions/checkout@v4
86+ - uses : actions/checkout@v5
7487 with :
7588 ref : ${{ inputs.branch }}
7689 - name : Update bundler
91104 needs : [check-podspecs-with-retry]
92105 runs-on : macos-15
93106 steps :
94- - uses : actions/checkout@v4
107+ - uses : actions/checkout@v5
95108 with :
96109 ref : ${{ inputs.branch }}
97110 - name : Update bundler
@@ -118,7 +131,7 @@ jobs:
118131 needs : [second-delay]
119132 runs-on : macos-15
120133 steps :
121- - uses : actions/checkout@v4
134+ - uses : actions/checkout@v5
122135 with :
123136 ref : ${{ inputs.branch }}
124137 - name : Update bundler
@@ -138,7 +151,7 @@ jobs:
138151 needs : [publish-MindboxLogger, publish-MindboxNotifications, publish-Mindbox]
139152 runs-on : ubuntu-latest
140153 steps :
141- - uses : actions/checkout@v4
154+ - uses : actions/checkout@v5
142155 with :
143156 ref : ${{ inputs.branch }}
144157 - name : Release generation
@@ -154,15 +167,15 @@ jobs:
154167 GITHUB_TOKEN : ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
155168 steps :
156169 - name : Checkout develop branch
157- uses : actions/checkout@v4
170+ uses : actions/checkout@v5
158171 with :
159172 ref : develop
160173 - name : Create Pull Request
161174 run : gh pr create --base develop --head master --title "Merge 'master' into 'develop' after release" --body "Automated Pull Request to merge 'master' into 'develop' after release"
162175 - name : Merge Pull Request
163176 run : |
164177 pr_number=$(gh pr list --base develop --head master --json number --jq '.[0].number')
165- gh pr merge $pr_number --merge
178+ gh pr merge $pr_number --merge --auto
166179
167180 message-to-loop-if-success :
168181 needs : [release-github]
0 commit comments