Skip to content

Commit 30d6d26

Browse files
committed
setup-android workflow action
Tested-by: Pranav Purwar <purwarpranav80@gmail.com> Signed-off-by: PranavPurwar <purwarpranav80@gmail.com> Signed-off-by: Pranav Purwar <purwarpranav80@gmail.com>
1 parent fa75717 commit 30d6d26

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8+
workflow_dispatch:
89

910
jobs:
1011
build:
@@ -24,6 +25,8 @@ jobs:
2425
- name: Give permission to executable
2526
run: chmod +x gradlew
2627

28+
- name: Setup Android SDK
29+
uses: android-actions/setup-android@v3
2730

2831
- name: Clear build cache
2932
uses: gradle/gradle-build-action@v3.1.0
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?><!--
2+
~ This file is part of Cosmic IDE.
3+
~ Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4+
~ Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5+
~ You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
6+
-->
7+
8+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9+
android:layout_width="match_parent"
10+
android:layout_height="match_parent"
11+
android:background="#150E15">
12+
13+
<com.termux.view.TerminalView
14+
android:id="@+id/terminal_view"
15+
android:layout_width="match_parent"
16+
android:layout_height="match_parent" />
17+
18+
</LinearLayout>

0 commit comments

Comments
 (0)