-
Notifications
You must be signed in to change notification settings - Fork 145
38 lines (35 loc) · 2.02 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
33
34
35
36
37
38
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 assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 2 GaiaXAnalyze
run: cd ./GaiaXAnalyze/GXAnalyzeAndroid && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 3 GaiaXAndroid
run: cd ./GaiaXAndroid && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 4 GaiaXAndroidAdapter
run: cd ./GaiaXAndroidAdapter && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 5 GaiaXAndroidQuickJS
run: cd ./GaiaXAndroidQuickJS && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 6 GaiaXAndroidJS
run: cd ./GaiaXAndroidJS && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal
- name: Build Setup 7 GaiaXAndroidJSProxy
run: cd ./GaiaXAndroidJSProxy && chmod +x ./gradlew && ./gradlew clean assembleDebug -Ptype=debug -Pgroup=com.github.alibaba.GaiaX -Pversion=dev-SNAPSHOT -xtest -xlint publishToMavenLocal