Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6cb2b9

Browse files
diversepwmeasurementweb-flow
authored andcommitted
Changes for PowerAPI monitoring
1 parent 36ead7d commit c6cb2b9

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

.github/workflows/android.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
1-
name: Android CI
2-
3-
on:
4-
- pull_request
5-
- push
6-
71
jobs:
82
build:
9-
runs-on: ubuntu-latest
3+
runs-on: self-hosted
104
steps:
11-
- uses: actions/checkout@v2
12-
- name: set up JDK 17
5+
- continue-on-error: true
6+
uses: actions/checkout@v2
7+
- continue-on-error: true
8+
name: set up JDK 17
139
uses: actions/setup-java@v1
1410
with:
1511
java-version: 17
16-
- name: Check Snippets
12+
- continue-on-error: true
13+
name: Check Snippets
1714
run: python scripts/checksnippets.py
18-
- name: Install NDK
19-
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
20-
- name: Build with Gradle (Pull Request)
21-
run: ./build_pull_request.sh
15+
- continue-on-error: true
16+
name: Install NDK
17+
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install
18+
"ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
19+
- continue-on-error: true
2220
if: github.event_name == 'pull_request'
23-
- name: Build with Gradle (Push)
24-
run: ./gradlew clean ktlint build
21+
name: Build with Gradle (Pull Request)
22+
run: ./build_pull_request.sh
23+
- continue-on-error: true
2524
if: github.event_name != 'pull_request'
25+
name: Build with Gradle (Push)
26+
run: ./gradlew clean ktlint build
27+
name: Android CI
28+
on:
29+
repository_dispatch:
30+
types: trigger-ga___android.yml

0 commit comments

Comments
 (0)