@@ -224,11 +224,11 @@ jobs:
224224 --output ~/.android/debug.keystore "scripts/gha-encrypted/debug_keystore.gpg"
225225 - name : Fetch prebuilt packaged SDK from previous run
226226 if : ${{ github.event.inputs.packaged_sdk_run_id != '' }}
227- uses : dawidd6/action- download-artifact@v2
227+ uses : actions/ download-artifact@v4
228228 with :
229229 name : ' firebase_unity_sdk.zip'
230- workflow : ' build_starter.yml '
231- run_id : ${{ github.event.inputs.packaged_sdk_run_id }}
230+ github-token : ${{ github.token }}
231+ run-id : ${{ github.event.inputs.packaged_sdk_run_id }}
232232
233233 - name : Build integration tests
234234 timeout-minutes : 240
@@ -267,14 +267,14 @@ jobs:
267267 echo "__SUMMARY_MISSING__" > build-results-${{ steps.matrix_info.outputs.info }}.log.json
268268 fi
269269 - name : Upload build results artifact
270- uses : actions/upload-artifact@v3
270+ uses : actions/upload-artifact@v4
271271 if : ${{ !cancelled() }}
272272 with :
273- name : build_and_test_results
273+ name : build_and_test_results-${{ matrix.platform }}-${{ matrix.ios_sdk }}
274274 path : build-results-${{ steps.matrix_info.outputs.info }}*
275275 retention-days : ${{ env.artifactRetentionDays }}
276276 - name : Upload Mobile integration tests artifact
277- uses : actions/upload-artifact@v3
277+ uses : actions/upload-artifact@v4
278278 if : ${{ contains('Android,iOS,tvOS', matrix.platform) && !cancelled() }}
279279 with :
280280 name : testapps-${{ matrix.platform }}-${{ steps.matrix_info.outputs.artifact_suffix }}
@@ -285,14 +285,14 @@ jobs:
285285 shell : bash
286286 run : rm -rf testapps-${{ steps.matrix_info.outputs.info }} || true
287287 - name : Upload Desktop build logs artifact # Mobile build logs are uploaded with integration tests artifact
288- uses : actions/upload-artifact@v3
288+ uses : actions/upload-artifact@v4
289289 if : ${{ !contains('Android,iOS,tvOS', matrix.platform) && !cancelled() }}
290290 with :
291291 name : testapps-build-logs-${{ steps.matrix_info.outputs.info }}
292292 path : testapps-${{ steps.matrix_info.outputs.info }}/build-logs
293293 retention-days : ${{ env.artifactRetentionDays }}
294294 - name : Upload Linux integration tests artifact
295- uses : actions/upload-artifact@v3
295+ uses : actions/upload-artifact@v4
296296 if : ${{ contains(matrix.platform, 'Linux') && !cancelled() }}
297297 with :
298298 name : testapps-Linux-${{ steps.matrix_info.outputs.artifact_suffix }}
@@ -303,7 +303,7 @@ jobs:
303303 shell : bash
304304 run : rm -rf testapps-${{ steps.matrix_info.outputs.info }}/Linux || true
305305 - name : Upload macOS integration tests artifact
306- uses : actions/upload-artifact@v3
306+ uses : actions/upload-artifact@v4
307307 if : ${{ contains(matrix.platform, 'macOS') && !cancelled() }}
308308 with :
309309 name : testapps-macOS-${{ steps.matrix_info.outputs.artifact_suffix }}
@@ -314,7 +314,7 @@ jobs:
314314 shell : bash
315315 run : rm -rf testapps-${{ steps.matrix_info.outputs.info }}/macOS || true
316316 - name : Upload Windows integration tests artifact
317- uses : actions/upload-artifact@v3
317+ uses : actions/upload-artifact@v4
318318 if : ${{ contains(matrix.platform, 'Windows') && !cancelled() }}
319319 with :
320320 name : testapps-Windows-${{ steps.matrix_info.outputs.artifact_suffix }}
@@ -326,10 +326,10 @@ jobs:
326326 run : rm -rf testapps-${{ steps.matrix_info.outputs.info }}/Windows || true
327327 - name : Download log artifacts
328328 if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
329- uses : actions/download-artifact@v3
329+ uses : actions/download-artifact@v4
330330 with :
331331 path : test_results
332- name : build_and_test_results
332+ name : build_and_test_results-${{ matrix.platform }}-${{ matrix.ios_sdk }}
333333 - name : Update PR label and comment
334334 if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
335335 shell : bash
@@ -388,11 +388,11 @@ jobs:
388388 python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
389389 - name : Fetch prebuilt packaged SDK from previous run
390390 if : ${{ github.event.inputs.packaged_sdk_run_id != '' }}
391- uses : dawidd6/action- download-artifact@v2
391+ uses : actions/ download-artifact@v4
392392 with :
393393 name : ' firebase_unity_sdk.zip'
394- workflow : ' build_starter.yml '
395- run_id : ${{ github.event.inputs.packaged_sdk_run_id }}
394+ github-token : ${{ github.token }}
395+ run-id : ${{ github.event.inputs.packaged_sdk_run_id }}
396396 - name : Set up Node (18)
397397 uses : actions/setup-node@v3
398398 with :
@@ -445,10 +445,10 @@ jobs:
445445 echo "__SUMMARY_MISSING__" > test-results-${{ steps.matrix_info.outputs.info }}.log.json
446446 fi
447447 - name : Upload test results artifact
448- uses : actions/upload-artifact@v3
448+ uses : actions/upload-artifact@v4
449449 if : ${{ !cancelled() }}
450450 with :
451- name : build_and_test_results
451+ name : build_and_test_results-Playmode
452452 path : test-results-${{ steps.matrix_info.outputs.info }}*
453453 retention-days : ${{ env.artifactRetentionDays }}
454454 - name : Update PR label and comment
@@ -501,7 +501,7 @@ jobs:
501501 if : runner.os == 'macOS'
502502 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
503503 - name : Download Testapp artifacts
504- uses : actions/download-artifact@v3
504+ uses : actions/download-artifact@v4
505505 with :
506506 path : testapps
507507 name : ${{ steps.matrix_info.outputs.artifact_path }}
@@ -603,17 +603,17 @@ jobs:
603603 fi
604604 - name : Upload test results artifact
605605 if : ${{ !cancelled() }}
606- uses : actions/upload-artifact@v3
606+ uses : actions/upload-artifact@v4
607607 with :
608- name : build_and_test_results
608+ name : build_and_test_results-${{ matrix.platform }}-${{ matrix.test_device }}
609609 path : testapps/test-results-${{ steps.matrix_info.outputs.info }}*
610610 retention-days : ${{ env.artifactRetentionDays }}
611611 - name : Download log artifacts
612612 if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
613- uses : actions/download-artifact@v3
613+ uses : actions/download-artifact@v4
614614 with :
615- path : test_results
616- name : build_and_test_results
615+ path : build_and_test_results
616+ name : build_and_test_results-${{ matrix.platform }}-${{ matrix.test_device }}
617617 - name : Update PR label and comment
618618 shell : bash
619619 if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
@@ -649,10 +649,11 @@ jobs:
649649 - name : Install python deps
650650 run : pip install -r scripts/gha/requirements.txt
651651 - name : Download log artifacts
652- uses : actions/download-artifact@v3
652+ uses : actions/download-artifact@v4
653653 with :
654654 path : test_results
655- name : build_and_test_results
655+ pattern : build_and_test_results-*
656+ merge-multiple : true
656657 # Use a different token to remove the "in-progress" label,
657658 # to allow the removal to trigger the "Check Labels" workflow.
658659 - name : Generate token for GitHub API
0 commit comments