File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : API Information
2
+
3
+ on : [ pull_request ]
4
+
5
+ jobs :
6
+ check :
7
+ if : github.event.pull_request.head.repo.full_name == github.repository
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ with :
12
+ fetch-depth : 2
13
+ submodules : true
14
+ - name : Set up JDK 11
15
+ uses : actions/setup-java@v2
16
+ with :
17
+ java-version : 11
18
+ distribution : temurin
19
+ cache : gradle
20
+ - name : Set up NDK 21.4.7075529
21
+ run : |
22
+ ANDROID_ROOT=/usr/local/lib/android
23
+ ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
24
+ ANDROID_NDK_ROOT=${ANDROID_SDK_ROOT}/ndk-bundle
25
+ SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager
26
+ echo "y" | $SDKMANAGER "ndk;21.4.7075529"
27
+ ln -sfn ${ANDROID_SDK_ROOT}/ndk/21.4.7075529 ${ANDROID_NDK_ROOT}
28
+ echo "ANDROID_NDK_HOME=${ANDROID_NDK_ROOT}" >> $GITHUB_ENV
29
+ - name : Set up Python 3.10
30
+ uses : actions/setup-python@v4
31
+ with :
32
+ python-version : ' 3.10'
33
+ - name : Set up fireci
34
+ run : pip3 install -e ci/fireci
35
+ - name : Run api-information check
36
+ run : |
37
+ fireci api_information \
38
+ --issue_number=${{ github.event.pull_request.number }} \
39
+ --repo_name=${{ github.repository }} \
40
+ --auth_token=${{ secrets.GOOGLE_OSS_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments