1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
1515 - name : Set up JDK
16- uses : actions/setup-java@v3
16+ uses : actions/setup-java@v4
1717 with :
1818 distribution : ' adopt'
1919 java-version : 17
@@ -27,23 +27,15 @@ jobs:
2727 with :
2828 ndk-version : r26b
2929 - name : Setup Python
30- uses : actions/setup-python@v4
30+ uses : actions/setup-python@v5
3131 with :
3232 python-version : ' 3.9.16'
3333 - name : Setup Android SDK
3434 uses : android-actions/setup-android@v3
3535 - name : Install CMake
3636 run : sdkmanager 'cmake;3.18.1'
3737 - name : Gradle caches
38- uses : actions/cache@v3
39- with :
40- path : ~/.gradle/caches
41- key : caches-${{ runner.os }}-${{ hashFiles('**/*.gradle') }}
42- - name : Gradle wrapper caches
43- uses : actions/cache@v3
44- with :
45- path : ~/.gradle/wrapper
46- key : wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
38+ uses : gradle/actions/setup-gradle@v4
4739 - name : Fetch buck
4840 run : |
4941 (rm -rf buck && mkdir buck && \
5749 runs-on : ubuntu-latest
5850 steps :
5951 - name : Checkout code
60- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
6153 - name : Set up JDK
62- uses : actions/setup-java@v3
54+ uses : actions/setup-java@v4
6355 with :
6456 distribution : ' adopt'
6557 java-version : 17
@@ -73,19 +65,11 @@ jobs:
7365 with :
7466 ndk-version : r26b
7567 - name : Setup Python
76- uses : actions/setup-python@v4
68+ uses : actions/setup-python@v5
7769 with :
7870 python-version : ' 3.9.16'
7971 - name : Gradle caches
80- uses : actions/cache@v3
81- with :
82- path : ~/.gradle/caches
83- key : caches-${{ runner.os }}-${{ hashFiles('**/*.gradle') }}
84- - name : Gradle wrapper caches
85- uses : actions/cache@v3
86- with :
87- path : ~/.gradle/wrapper
88- key : wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
72+ uses : gradle/actions/setup-gradle@v4
8973 - name : Fetch buck
9074 run : |
9175 (rm -rf buck && mkdir buck && \
10488 is-snapshot : ${{ steps.check_snapshot.outputs.IS_SNAPSHOT != '' }}
10589 steps :
10690 - name : Checkout code
107- uses : actions/checkout@v3
91+ uses : actions/checkout@v4
10892 - name : Check if SNAPSHOT version
10993 id : check_snapshot
11094 run : |
11599 runs-on : ubuntu-latest
116100 steps :
117101 - name : Checkout code
118- uses : actions/checkout@v3
102+ uses : actions/checkout@v4
119103 - name : Set up JDK
120- uses : actions/setup-java@v3
104+ uses : actions/setup-java@v4
121105 with :
122106 distribution : ' adopt'
123107 java-version : 17
@@ -131,19 +115,11 @@ jobs:
131115 with :
132116 ndk-version : r26b
133117 - name : Setup Python
134- uses : actions/setup-python@v4
118+ uses : actions/setup-python@v5
135119 with :
136120 python-version : ' 3.9.16'
137121 - name : Gradle caches
138- uses : actions/cache@v3
139- with :
140- path : ~/.gradle/caches
141- key : caches-${{ runner.os }}-${{ hashFiles('**/*.gradle') }}
142- - name : Gradle wrapper caches
143- uses : actions/cache@v3
144- with :
145- path : ~/.gradle/wrapper
146- key : wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
122+ uses : gradle/actions/setup-gradle@v4
147123 - name : Fetch buck
148124 run : |
149125 (rm -rf buck && mkdir buck && \
0 commit comments