forked from AndroidIDEOfficial/AndroidIDE
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.06 KB
/
Copy pathtooling-api.yml
File metadata and controls
44 lines (36 loc) · 1.06 KB
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
39
40
41
42
43
44
name: Build AndroidIDE tooling runtime
on:
#push:
#branches: [ "main", "dev", "indexing", "release/**" ]
workflow_dispatch: {}
jobs:
build_tooling_runtime:
name: Build AndroidIDE tooling runtime
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Restore Gradle cache
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- name: Build tooling fat jar
run: ./gradlew :tooling:impl:jar
- name: Upload tooling runtime
uses: actions/upload-artifact@v4
with:
name: androidide-tooling-runtime
path: tooling/impl/build/libs/tooling-api-all.jar