Skip to content

Commit f4d1306

Browse files
author
OpenMoTa3
authored
Create android.yml
1 parent dab8909 commit f4d1306

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎.github/workflows/android.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Android CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CI_CORE_ONLY: "false"
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: set up JDK 17
18+
uses: actions/setup-java@v4
19+
with:
20+
java-version: '17'
21+
distribution: 'temurin'
22+
cache: gradle
23+
- name: Grant execute permission for gradlew
24+
run: chmod +x gradlew
25+
- name: Build desktop
26+
run: ./gradlew :ide-desktop:assembleDebug
27+
- name: Build android
28+
run: ./gradlew :ide-android:assembleDebug
29+
- name: Upload project
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: project
33+
path: .

0 commit comments

Comments
 (0)