@@ -15,14 +15,14 @@ inputs:
15
15
runs :
16
16
using : composite
17
17
steps :
18
- - name : Use Node.js 16.x
19
- uses : actions/setup-node@v3
18
+ - name : Use Node.js
19
+ uses : actions/setup-node@v4
20
20
with :
21
21
node-version : ${{ inputs.node-version }}
22
22
cache : ' npm'
23
23
24
- - name : Use JDK 11
25
- uses : actions/setup-java@v3
24
+ - name : Use JDK
25
+ uses : actions/setup-java@v4
26
26
with :
27
27
distribution : ' adopt'
28
28
java-version : ${{ inputs.java-version }}
32
32
shell : bash
33
33
34
34
- name : Cache Gradle packages
35
- uses : actions/cache@v3
35
+ uses : actions/cache@v4
36
36
with :
37
37
path : |
38
38
~/.gradle/caches
@@ -41,15 +41,15 @@ runs:
41
41
restore-keys : |
42
42
${{ runner.os }}-gradle-
43
43
44
- - uses : actions/download-artifact@v3
44
+ - uses : actions/download-artifact@v4
45
45
with :
46
46
name : android-build
47
47
48
48
- name : Extract Android build output
49
49
run : tar -xzvf android-build.tar.gz
50
50
shell : bash
51
51
52
- - uses : actions/download-artifact@v3
52
+ - uses : actions/download-artifact@v4
53
53
with :
54
54
name : ios-build
55
55
58
58
shell : bash
59
59
60
60
- name : Cache Native Modules
61
- uses : actions/cache@v3
61
+ uses : actions/cache@v4
62
62
with :
63
63
path : ${{ env.SDK_BUILD_CACHE_DIR }}
64
64
key : native-modules-${{ github.sha }}
@@ -70,21 +70,21 @@ runs:
70
70
shell : bash
71
71
72
72
- name : Archive OSX artifact
73
- uses : actions/upload-artifact@v3
73
+ uses : actions/upload-artifact@v4
74
74
with :
75
75
name : mobilesdk-${{ inputs.vtag }}-osx
76
76
path : |
77
77
dist/mobilesdk-*-osx.zip
78
78
79
79
- name : Archive win32 artifact
80
- uses : actions/upload-artifact@v3
80
+ uses : actions/upload-artifact@v4
81
81
with :
82
82
name : mobilesdk-${{ inputs.vtag }}-win32
83
83
path : |
84
84
dist/mobilesdk-*-win32.zip
85
85
86
86
- name : Archive Linux artifact
87
- uses : actions/upload-artifact@v3
87
+ uses : actions/upload-artifact@v4
88
88
with :
89
89
name : mobilesdk-${{ inputs.vtag }}-linux
90
90
path : |
98
98
rm -f ~/.gradle/caches/modules-2/gc.properties
99
99
shell : bash
100
100
101
- - uses : geekyeggo/delete-artifact@v2
101
+ - uses : geekyeggo/delete-artifact@v5
102
102
with :
103
103
name : |
104
104
android-build
0 commit comments