9595 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
9696
9797 - name : Setup python
98- uses : actions/setup-python@v2
98+ uses : actions/setup-python@v4
9999 with :
100100 python-version : 3.7
101101
@@ -125,15 +125,15 @@ jobs:
125125 - name : Cache LLVM (Mac only)
126126 if : matrix.tools_platform == 'darwin'
127127 id : cache_llvm
128- uses : actions/cache@v2
128+ uses : actions/cache@v3
129129 with :
130130 path : llvm-src/llvm/build/bin
131131 key : llvm-bin-${{matrix.tools_platform}}-${{env.xcodeVersion}}-${{env.llvmVer}}
132132
133133 - name : Fetch LLVM source (Mac only)
134134 # Only fetch LLVM if we don't already have binaries from the cache.
135135 if : ${{ matrix.tools_platform == 'darwin' && !steps.cache_llvm.outputs.cache-hit }}
136- uses : actions/checkout@v2.3.1
136+ uses : actions/checkout@v3
137137 with :
138138 repository : llvm/llvm-project
139139 path : llvm-src
@@ -155,7 +155,7 @@ jobs:
155155 cp -af llvm-src/llvm/build/bin/* packaging-tools
156156
157157 - name : fetch demumble
158- uses : actions/checkout@v2.3.1
158+ uses : actions/checkout@v3
159159 with :
160160 repository : nico/demumble
161161 path : demumble-src
@@ -178,7 +178,7 @@ jobs:
178178 tar -czhf ../packaging-tools.tgz .
179179
180180 - name : upload artifacts
181- uses : actions/upload-artifact@v2.2.2
181+ uses : actions/upload-artifact@v3
182182 with :
183183 name : packaging-tools-${{ matrix.tools_platform }}
184184 path : packaging-tools.tgz
@@ -200,12 +200,12 @@ jobs:
200200 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
201201
202202 - name : fetch SDK
203- uses : actions/checkout@v2.3.1
203+ uses : actions/checkout@v3
204204 with :
205205 path : sdk-src
206206
207207 - name : Setup python
208- uses : actions/setup-python@v2
208+ uses : actions/setup-python@v4
209209 with :
210210 python-version : 3.7
211211
@@ -236,7 +236,7 @@ jobs:
236236 find firebase-cpp-sdk-*-package -type f
237237
238238 - name : upload artifacts
239- uses : actions/upload-artifact@v2.2.2
239+ uses : actions/upload-artifact@v3
240240 with :
241241 name : firebase-cpp-sdk-ios-tvos-package
242242 path : firebase-cpp-sdk-ios-tvos-package.tgz
@@ -249,7 +249,7 @@ jobs:
249249 fail-fast : false
250250 steps :
251251 - name : fetch SDK
252- uses : actions/checkout@v2.3.1
252+ uses : actions/checkout@v3
253253 with :
254254 path : sdk-src
255255
@@ -262,7 +262,7 @@ jobs:
262262
263263 - name : Cache NDK
264264 id : cache_ndk
265- uses : actions/cache@v2
265+ uses : actions/cache@v3
266266 with :
267267 path : /tmp/android-ndk-r21e
268268 key : android-ndk-${{ runner.os }}-r21e
@@ -293,7 +293,7 @@ jobs:
293293 find firebase-cpp-sdk-*-package -type f
294294
295295 - name : upload artifacts
296- uses : actions/upload-artifact@v2.2.2
296+ uses : actions/upload-artifact@v3
297297 with :
298298 name : firebase-cpp-sdk-android-package
299299 path : firebase-cpp-sdk-android-package.tgz
@@ -362,7 +362,7 @@ jobs:
362362 if : runner.os == 'macOS'
363363 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
364364
365- - uses : actions/checkout@v2
365+ - uses : actions/checkout@v3
366366 with :
367367 submodules : true
368368
@@ -379,25 +379,25 @@ jobs:
379379
380380 - name : Add msbuild to PATH (windows)
381381 if : startsWith(matrix.os, 'windows')
382- uses : microsoft/setup-msbuild@v1.0.2
382+ uses : microsoft/setup-msbuild@v1.1
383383
384384 - name : Cache vcpkg C++ dependencies
385385 id : cache_vcpkg
386- uses : actions/cache@v2
386+ uses : actions/cache@v3
387387 with :
388388 path : external/vcpkg/installed
389389 key : dev-vcpkg-${{ matrix.architecture }}-${{ matrix.vcpkg_triplet_suffix }}-${{ matrix.msvc_runtime }}-${{ matrix.linux_abi }}-${{ hashFiles(format('{0}', env.VCPKG_RESPONSE_FILE)) }}-${{ hashFiles('.git/modules/external/vcpkg/HEAD') }}${{env.VCPKG_EXTRA_HASH}}
390390
391391 - name : Cache ccache files
392392 if : startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
393393 id : cache_ccache
394- uses : actions/cache@v2
394+ uses : actions/cache@v3
395395 with :
396396 path : ccache_dir
397397 key : dev-test-ccache-${{ env.MATRIX_UNIQUE_NAME }}
398398
399399 - name : Setup python
400- uses : actions/setup-python@v2
400+ uses : actions/setup-python@v4
401401 with :
402402 python-version : ${{ matrix.python_version }}
403403
@@ -449,7 +449,7 @@ jobs:
449449 continue-on-error : true
450450
451451 - name : upload artifacts
452- uses : actions/upload-artifact@v2.2.2
452+ uses : actions/upload-artifact@v3
453453 with :
454454 name : firebase-cpp-sdk-${{ env.SDK_NAME }}-build
455455 path : firebase-cpp-sdk-${{ env.SDK_NAME }}-build.tgz
@@ -504,19 +504,19 @@ jobs:
504504 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
505505
506506 - name : fetch SDK
507- uses : actions/checkout@v2.3.1
507+ uses : actions/checkout@v3
508508 with :
509509 path : sdk-src
510510
511511 - name : download artifact
512- uses : actions/download-artifact@v2.0.8
512+ uses : actions/download-artifact@v3
513513 with :
514514 # download-artifact doesn't support wildcards, but by default
515515 # will download all artifacts. Sadly this is what we must do.
516516 path : artifacts
517517
518518 - name : Setup python
519- uses : actions/setup-python@v2
519+ uses : actions/setup-python@v4
520520 with :
521521 python-version : 3.7
522522
@@ -584,7 +584,7 @@ jobs:
584584 find firebase-cpp-sdk-*-package -type f
585585
586586 - name : upload SDK zip
587- uses : actions/upload-artifact@v2.2.2
587+ uses : actions/upload-artifact@v3
588588 with :
589589 name : firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix}}-package
590590 path : firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix}}-package.tgz
@@ -639,7 +639,7 @@ jobs:
639639 && github.event.inputs.downloadPreviousRun == ''
640640 )
641641 # Remove the build artifacts that were consumed during this step of packaging.
642- uses : geekyeggo/delete-artifact@1-glob-support
642+ uses : geekyeggo/delete-artifact@v2
643643 with :
644644 name : |
645645 firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix }}*-build
@@ -685,13 +685,13 @@ jobs:
685685 echo "::warning ::$(cat firebase_cpp_sdk_hash.txt)"
686686
687687 - name : upload hash
688- uses : actions/upload-artifact@v2.2.2
688+ uses : actions/upload-artifact@v3
689689 with :
690690 name : firebase_cpp_sdk_hash.txt
691691 path : firebase_cpp_sdk_hash.txt
692692
693693 - name : upload SDK zip
694- uses : actions/upload-artifact@v2.2.2
694+ uses : actions/upload-artifact@v3
695695 with :
696696 name : firebase_cpp_sdk.zip
697697 path : firebase_cpp_sdk.zip
@@ -704,12 +704,12 @@ jobs:
704704 needs : [build_and_package_ios_tvos, build_and_package_android, package_desktop, log_inputs]
705705 steps :
706706 - name : fetch SDK
707- uses : actions/checkout@v2.3.1
707+ uses : actions/checkout@v3
708708 with :
709709 path : sdk-src
710710
711711 - name : download artifact
712- uses : actions/download-artifact@v2.0.8
712+ uses : actions/download-artifact@v3
713713 with :
714714 # download-artifact doesn't support wildcards, but by default
715715 # will download all artifacts. Sadly this is what we must do.
@@ -748,13 +748,13 @@ jobs:
748748 find firebase_cpp_sdk -type f
749749
750750 - name : upload hash
751- uses : actions/upload-artifact@v2.2.2
751+ uses : actions/upload-artifact@v3
752752 with :
753753 name : firebase_cpp_sdk_hash.txt
754754 path : firebase_cpp_sdk_hash.txt
755755
756756 - name : upload SDK zip
757- uses : actions/upload-artifact@v2.2.2
757+ uses : actions/upload-artifact@v3
758758 with :
759759 name : firebase_cpp_sdk.zip
760760 path : firebase_cpp_sdk.zip
@@ -772,7 +772,7 @@ jobs:
772772 && github.event.inputs.downloadPreviousRun == ''
773773 )
774774 steps :
775- - uses : geekyeggo/delete-artifact@1-glob-support
775+ - uses : geekyeggo/delete-artifact@v2
776776 with :
777777 name : |
778778 packaging-tools-*
@@ -787,10 +787,10 @@ jobs:
787787 runs-on : ubuntu-latest
788788 steps :
789789 - name : Checkout repo
790- uses : actions/checkout@v2.3.1
790+ uses : actions/checkout@v3
791791
792792 - name : Setup python
793- uses : actions/setup-python@v2
793+ uses : actions/setup-python@v4
794794 with :
795795 python-version : ' 3.7'
796796 - name : Use expanded matrix
0 commit comments