4040 GIT_COMMITTER_EMAIL :
[email protected] 4141 steps :
4242 - name : " Clone branch"
43- uses : actions/checkout@v3
43+ uses : actions/checkout@v4
4444 with :
4545 repository : mparticle/mparticle-android-sdk
4646 ref : ${{ inputs.branch_name }}
@@ -71,12 +71,12 @@ jobs:
7171 needs : create-regression-branch
7272 steps :
7373 - name : " Checkout future release branch"
74- uses : actions/checkout@v3
74+ uses : actions/checkout@v4
7575 with :
7676 repository : mparticle/mparticle-android-sdk
7777 ref : regression/${{ github.run_number }}
7878 - name : " Install JDK 17"
79- uses : actions/setup-java@v3
79+ uses : actions/setup-java@v4
8080 with :
8181 distribution : " zulu"
8282 java-version : " 17"
@@ -90,12 +90,13 @@ jobs:
9090 #Disable benchmark tests as they do not work on emulators
9191 adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
9292 ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
93- - name : " Archive Instrumented Test Results"
94- uses : actions/upload-artifact@v3
93+ - name : " Archive Daily Instrumented Test Results"
94+ uses : actions/upload-artifact@v4
9595 if : always()
9696 with :
97- name : instrumented-test-results
97+ name : " daily- instrumented-test-results"
9898 path : android-core/build/reports/androidTests/connected/**
99+ overwrite : true
99100
100101 instrumented-orchestrator-tests :
101102 name : " Instrumented Orchestrator Tests"
@@ -104,12 +105,12 @@ jobs:
104105 needs : create-regression-branch
105106 steps :
106107 - name : " Checkout Branch"
107- uses : actions/checkout@v3
108+ uses : actions/checkout@v4
108109 with :
109110 repository : mparticle/mparticle-android-sdk
110111 ref : regression/${{ github.run_number }}
111112 - name : " Install JDK 17"
112- uses : actions/setup-java@v3
113+ uses : actions/setup-java@v4
113114 with :
114115 distribution : " zulu"
115116 java-version : " 17"
@@ -119,12 +120,13 @@ jobs:
119120 with :
120121 api-level : 29
121122 script : ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
122- - name : " Archive Instrumented Orchestrator Tests Results"
123- uses : actions/upload-artifact@v3
123+ - name : " Archive Daily Instrumented Orchestrator Tests Results"
124+ uses : actions/upload-artifact@v4
124125 if : always()
125126 with :
126- name : " instrumented-orchestrator-tests-results"
127+ name : " daily- instrumented-orchestrator-tests-results"
127128 path : android-core/build/orchestrator/**
129+ overwrite : true
128130
129131 unit-tests :
130132 name : " Unit Tests"
@@ -133,12 +135,12 @@ jobs:
133135 needs : create-regression-branch
134136 steps :
135137 - name : " Checkout future release branch"
136- uses : actions/checkout@v3
138+ uses : actions/checkout@v4
137139 with :
138140 repository : mparticle/mparticle-android-sdk
139141 ref : regression/${{ github.run_number }}
140142 - name : " Install JDK 17"
141- uses : actions/setup-java@v3
143+ uses : actions/setup-java@v4
142144 with :
143145 distribution : " zulu"
144146 java-version : " 17"
@@ -148,12 +150,13 @@ jobs:
148150 - name : " Print Android Unit Tests Report"
149151 uses : asadmansr/android-test-report-action@384cd31388782f4106dc4a1b37eea2ff02e0aad7 # v1.2.0
150152 if : always()
151- - name : " Archive Unit Test Results"
152- uses : actions/upload-artifact@v3
153+ - name : " Archive Daily Unit Test Results"
154+ uses : actions/upload-artifact@v4
153155 if : always()
154156 with :
155- name : " unit-tests-results"
157+ name : " daily- unit-tests-results"
156158 path : ./**/build/reports/**
159+ overwrite : true
157160
158161 lint-checks :
159162 name : " Lint Checks"
@@ -162,12 +165,12 @@ jobs:
162165 needs : create-regression-branch
163166 steps :
164167 - name : " Checkout Branch"
165- uses : actions/checkout@v3
168+ uses : actions/checkout@v4
166169 with :
167170 ref : regression/${{ github.run_number }}
168171 submodules : recursive
169172 - name : " Install JDK 17"
170- uses : actions/setup-java@v3
173+ uses : actions/setup-java@v4
171174 with :
172175 distribution : " zulu"
173176 java-version : " 17"
@@ -179,17 +182,19 @@ jobs:
179182 - name : " Run Android Kit Lint"
180183 run : ./gradlew publishReleaseLocal -c settings-kits.gradle lint
181184 - name : " Archive Test Results"
182- uses : actions/upload-artifact@v3
185+ uses : actions/upload-artifact@v4
183186 if : always()
184187 with :
185- name : " core-lint-results"
188+ name : " daily- core-lint-results"
186189 path : ./**/build/reports/**
190+ overwrite : true
187191 - name : " Archive Test Kit Results"
188- uses : actions/upload-artifact@v3
192+ uses : actions/upload-artifact@v4
189193 if : always()
190194 with :
191- name : " kit-lint-results"
195+ name : " daily- kit-lint-results"
192196 path : kits/**/build/reports/**
197+ overwrite : true
193198
194199 kotlin-lint-checks :
195200 name : " Kotlin Lint Checks"
@@ -198,12 +203,12 @@ jobs:
198203 needs : create-regression-branch
199204 steps :
200205 - name : " Checkout Branch"
201- uses : actions/checkout@v3
206+ uses : actions/checkout@v4
202207 with :
203208 ref : regression/${{ github.run_number }}
204209 submodules : recursive
205210 - name : " Install JDK 17"
206- uses : actions/setup-java@v3
211+ uses : actions/setup-java@v4
207212 with :
208213 distribution : " zulu"
209214 java-version : " 17"
@@ -214,18 +219,20 @@ jobs:
214219 run : ./gradlew publishReleaseLocal
215220 - name : " Run Android Kit Kotlin Lint"
216221 run : ./gradlew publishReleaseLocal -c settings-kits.gradle ktlintCheck
217- - name : " Archive Test Results"
218- uses : actions/upload-artifact@v3
222+ - name : " Archive Daily Test Core Results"
223+ uses : actions/upload-artifact@v4
219224 if : always()
220225 with :
221- name : " core-ktlint-results"
226+ name : " daily- core-ktlint-results"
222227 path : ./**/build/reports/**
223- - name : " Archive Test Kit Results"
224- uses : actions/upload-artifact@v3
228+ overwrite : true
229+ - name : " Archive Daily Test Kit Results"
230+ uses : actions/upload-artifact@v4
225231 if : always()
226232 with :
227- name : " kit-ktlint-results"
233+ name : " daily- kit-ktlint-results"
228234 path : kits/**/build/reports/**
235+ overwrite : true
229236
230237 update-kits :
231238 name : " Update Kits"
@@ -238,13 +245,13 @@ jobs:
238245 GIT_COMMITTER_EMAIL :
[email protected] 239246 steps :
240247 - name : " Checkout future release branch"
241- uses : actions/checkout@v3
248+ uses : actions/checkout@v4
242249 with :
243250 repository : mparticle/mparticle-android-sdk
244251 ref : regression/${{ github.run_number }}
245252 submodules : recursive
246253 - name : " Install JDK 17"
247- uses : actions/setup-java@v3
254+ uses : actions/setup-java@v4
248255 with :
249256 distribution : " zulu"
250257 java-version : " 17"
@@ -266,7 +273,7 @@ jobs:
266273 GIT_COMMITTER_EMAIL :
[email protected] 267274 steps :
268275 - name : " Checkout public main branch"
269- uses : actions/checkout@v3
276+ uses : actions/checkout@v4
270277 with :
271278 fetch-depth : 0
272279 ref : main
@@ -297,7 +304,7 @@ jobs:
297304 GIT_COMMITTER_EMAIL :
[email protected] 298305 steps :
299306 - name : " Checkout repo"
300- uses : actions/checkout@v3
307+ uses : actions/checkout@v4
301308 with :
302309 fetch-depth : 0
303310 repository : ${{ github.repository }}
0 commit comments