AE-5899 | Refactor GitHub Actions (#4353)
* add: `android` label to build CI * add: `default` label to checkstyle CI * add: `default` label to test CI
This commit is contained in:
committed by
GitHub Enterprise
parent
33dbcfb770
commit
ee1189bde7
30
.github/workflows/android_build.yml
vendored
30
.github/workflows/android_build.yml
vendored
@@ -8,20 +8,18 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: [ self-hosted ]
|
||||
|
||||
runs-on: [ self-hosted, android ]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v2
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build Debug with gradle
|
||||
run: ./gradlew assembleDevDebug --stacktrace
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v2
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build Debug with gradle
|
||||
run: ./gradlew assembleDevDebug --stacktrace
|
||||
|
||||
Reference in New Issue
Block a user