-
Notifications
You must be signed in to change notification settings - Fork 144
32 lines (29 loc) · 1.24 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Android publish CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Build before
run: ls -ll
- name: Build Setup 1 GaiaXAndroidClientToStudio
run: cd ./GaiaXAndroidClientToStudio && chmod +x ./gradlew && ./gradlew clean build -Pgroup=com.github.alibaba.GaiaX -Pversion=main-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 2 GaiaXAnalyze
run: cd ./GaiaXAnalyze/GXAnalyzeAndroid && chmod +x ./gradlew && ./gradlew clean build -Pgroup=com.github.alibaba.GaiaX -Pversion=main-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 3 GaiaXAndroid
run: cd ./GaiaXAndroid && chmod +x ./gradlew && ./gradlew clean build -Pgroup=com.github.alibaba.GaiaX -Pversion=main-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 4 GaiaXAndroidAdapter
run: cd ./GaiaXAndroidAdapter && chmod +x ./gradlew && ./gradlew clean build -Pgroup=com.github.alibaba.GaiaX -Pversion=main-SNAPSHOT -xtest -xlint publishToMavenLocal