Skip to content

Commit 75a47ba

Browse files
committed
Add Ant build workflow
1 parent 25e283a commit 75a47ba

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build APK (Ant)
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up JDK 8
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '8'
22+
23+
- name: Install Ant
24+
run: sudo apt-get install -y ant
25+
26+
- name: Build APK
27+
run: ant debug
28+
29+
- name: Upload APK
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: DroidVNC-APK
33+
path: bin/*.apk

0 commit comments

Comments
 (0)