95
95
run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
96
96
97
97
- name : Setup python
98
- uses : actions/setup-python@v2
98
+ uses : actions/setup-python@v4
99
99
with :
100
100
python-version : 3.7
101
101
@@ -125,15 +125,15 @@ jobs:
125
125
- name : Cache LLVM (Mac only)
126
126
if : matrix.tools_platform == 'darwin'
127
127
id : cache_llvm
128
- uses : actions/cache@v2
128
+ uses : actions/cache@v3
129
129
with :
130
130
path : llvm-src/llvm/build/bin
131
131
key : llvm-bin-${{matrix.tools_platform}}-${{env.xcodeVersion}}-${{env.llvmVer}}
132
132
133
133
- name : Fetch LLVM source (Mac only)
134
134
# Only fetch LLVM if we don't already have binaries from the cache.
135
135
if : ${{ matrix.tools_platform == 'darwin' && !steps.cache_llvm.outputs.cache-hit }}
136
- uses : actions/checkout@v2.3.1
136
+ uses : actions/checkout@v3
137
137
with :
138
138
repository : llvm/llvm-project
139
139
path : llvm-src
@@ -155,7 +155,7 @@ jobs:
155
155
cp -af llvm-src/llvm/build/bin/* packaging-tools
156
156
157
157
- name : fetch demumble
158
- uses : actions/checkout@v2.3.1
158
+ uses : actions/checkout@v3
159
159
with :
160
160
repository : nico/demumble
161
161
path : demumble-src
@@ -178,7 +178,7 @@ jobs:
178
178
tar -czhf ../packaging-tools.tgz .
179
179
180
180
- name : upload artifacts
181
- uses : actions/upload-artifact@v2.2.2
181
+ uses : actions/upload-artifact@v3
182
182
with :
183
183
name : packaging-tools-${{ matrix.tools_platform }}
184
184
path : packaging-tools.tgz
@@ -200,12 +200,12 @@ jobs:
200
200
run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
201
201
202
202
- name : fetch SDK
203
- uses : actions/checkout@v2.3.1
203
+ uses : actions/checkout@v3
204
204
with :
205
205
path : sdk-src
206
206
207
207
- name : Setup python
208
- uses : actions/setup-python@v2
208
+ uses : actions/setup-python@v4
209
209
with :
210
210
python-version : 3.7
211
211
@@ -236,7 +236,7 @@ jobs:
236
236
find firebase-cpp-sdk-*-package -type f
237
237
238
238
- name : upload artifacts
239
- uses : actions/upload-artifact@v2.2.2
239
+ uses : actions/upload-artifact@v3
240
240
with :
241
241
name : firebase-cpp-sdk-ios-tvos-package
242
242
path : firebase-cpp-sdk-ios-tvos-package.tgz
@@ -249,7 +249,7 @@ jobs:
249
249
fail-fast : false
250
250
steps :
251
251
- name : fetch SDK
252
- uses : actions/checkout@v2.3.1
252
+ uses : actions/checkout@v3
253
253
with :
254
254
path : sdk-src
255
255
@@ -262,7 +262,7 @@ jobs:
262
262
263
263
- name : Cache NDK
264
264
id : cache_ndk
265
- uses : actions/cache@v2
265
+ uses : actions/cache@v3
266
266
with :
267
267
path : /tmp/android-ndk-r21e
268
268
key : android-ndk-${{ runner.os }}-r21e
@@ -293,7 +293,7 @@ jobs:
293
293
find firebase-cpp-sdk-*-package -type f
294
294
295
295
- name : upload artifacts
296
- uses : actions/upload-artifact@v2.2.2
296
+ uses : actions/upload-artifact@v3
297
297
with :
298
298
name : firebase-cpp-sdk-android-package
299
299
path : firebase-cpp-sdk-android-package.tgz
@@ -362,7 +362,7 @@ jobs:
362
362
if : runner.os == 'macOS'
363
363
run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
364
364
365
- - uses : actions/checkout@v2
365
+ - uses : actions/checkout@v3
366
366
with :
367
367
submodules : true
368
368
@@ -379,25 +379,25 @@ jobs:
379
379
380
380
- name : Add msbuild to PATH (windows)
381
381
if : startsWith(matrix.os, 'windows')
382
- uses : microsoft/setup-msbuild@v1.0.2
382
+ uses : microsoft/setup-msbuild@v1.1
383
383
384
384
- name : Cache vcpkg C++ dependencies
385
385
id : cache_vcpkg
386
- uses : actions/cache@v2
386
+ uses : actions/cache@v3
387
387
with :
388
388
path : external/vcpkg/installed
389
389
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}}
390
390
391
391
- name : Cache ccache files
392
392
if : startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
393
393
id : cache_ccache
394
- uses : actions/cache@v2
394
+ uses : actions/cache@v3
395
395
with :
396
396
path : ccache_dir
397
397
key : dev-test-ccache-${{ env.MATRIX_UNIQUE_NAME }}
398
398
399
399
- name : Setup python
400
- uses : actions/setup-python@v2
400
+ uses : actions/setup-python@v4
401
401
with :
402
402
python-version : ${{ matrix.python_version }}
403
403
@@ -449,7 +449,7 @@ jobs:
449
449
continue-on-error : true
450
450
451
451
- name : upload artifacts
452
- uses : actions/upload-artifact@v2.2.2
452
+ uses : actions/upload-artifact@v3
453
453
with :
454
454
name : firebase-cpp-sdk-${{ env.SDK_NAME }}-build
455
455
path : firebase-cpp-sdk-${{ env.SDK_NAME }}-build.tgz
@@ -504,19 +504,19 @@ jobs:
504
504
run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
505
505
506
506
- name : fetch SDK
507
- uses : actions/checkout@v2.3.1
507
+ uses : actions/checkout@v3
508
508
with :
509
509
path : sdk-src
510
510
511
511
- name : download artifact
512
- uses : actions/download-artifact@v2.0.8
512
+ uses : actions/download-artifact@v3
513
513
with :
514
514
# download-artifact doesn't support wildcards, but by default
515
515
# will download all artifacts. Sadly this is what we must do.
516
516
path : artifacts
517
517
518
518
- name : Setup python
519
- uses : actions/setup-python@v2
519
+ uses : actions/setup-python@v4
520
520
with :
521
521
python-version : 3.7
522
522
@@ -584,7 +584,7 @@ jobs:
584
584
find firebase-cpp-sdk-*-package -type f
585
585
586
586
- name : upload SDK zip
587
- uses : actions/upload-artifact@v2.2.2
587
+ uses : actions/upload-artifact@v3
588
588
with :
589
589
name : firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix}}-package
590
590
path : firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix}}-package.tgz
@@ -639,7 +639,7 @@ jobs:
639
639
&& github.event.inputs.downloadPreviousRun == ''
640
640
)
641
641
# 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
643
643
with :
644
644
name : |
645
645
firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix }}*-build
@@ -685,13 +685,13 @@ jobs:
685
685
echo "::warning ::$(cat firebase_cpp_sdk_hash.txt)"
686
686
687
687
- name : upload hash
688
- uses : actions/upload-artifact@v2.2.2
688
+ uses : actions/upload-artifact@v3
689
689
with :
690
690
name : firebase_cpp_sdk_hash.txt
691
691
path : firebase_cpp_sdk_hash.txt
692
692
693
693
- name : upload SDK zip
694
- uses : actions/upload-artifact@v2.2.2
694
+ uses : actions/upload-artifact@v3
695
695
with :
696
696
name : firebase_cpp_sdk.zip
697
697
path : firebase_cpp_sdk.zip
@@ -704,12 +704,12 @@ jobs:
704
704
needs : [build_and_package_ios_tvos, build_and_package_android, package_desktop, log_inputs]
705
705
steps :
706
706
- name : fetch SDK
707
- uses : actions/checkout@v2.3.1
707
+ uses : actions/checkout@v3
708
708
with :
709
709
path : sdk-src
710
710
711
711
- name : download artifact
712
- uses : actions/download-artifact@v2.0.8
712
+ uses : actions/download-artifact@v3
713
713
with :
714
714
# download-artifact doesn't support wildcards, but by default
715
715
# will download all artifacts. Sadly this is what we must do.
@@ -748,13 +748,13 @@ jobs:
748
748
find firebase_cpp_sdk -type f
749
749
750
750
- name : upload hash
751
- uses : actions/upload-artifact@v2.2.2
751
+ uses : actions/upload-artifact@v3
752
752
with :
753
753
name : firebase_cpp_sdk_hash.txt
754
754
path : firebase_cpp_sdk_hash.txt
755
755
756
756
- name : upload SDK zip
757
- uses : actions/upload-artifact@v2.2.2
757
+ uses : actions/upload-artifact@v3
758
758
with :
759
759
name : firebase_cpp_sdk.zip
760
760
path : firebase_cpp_sdk.zip
@@ -772,7 +772,7 @@ jobs:
772
772
&& github.event.inputs.downloadPreviousRun == ''
773
773
)
774
774
steps :
775
- - uses : geekyeggo/delete-artifact@1-glob-support
775
+ - uses : geekyeggo/delete-artifact@v2
776
776
with :
777
777
name : |
778
778
packaging-tools-*
@@ -787,10 +787,10 @@ jobs:
787
787
runs-on : ubuntu-latest
788
788
steps :
789
789
- name : Checkout repo
790
- uses : actions/checkout@v2.3.1
790
+ uses : actions/checkout@v3
791
791
792
792
- name : Setup python
793
- uses : actions/setup-python@v2
793
+ uses : actions/setup-python@v4
794
794
with :
795
795
python-version : ' 3.7'
796
796
- name : Use expanded matrix
0 commit comments