Skip to content

Commit 4ade092

Browse files
committed
Add file android.yml
1 parent 479ba4a commit 4ade092

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/android.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Android Build
2+
3+
on:
4+
push:
5+
paths:
6+
- '.github/workflows/android.yml'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
name: Build APK
12+
runs-on: 'ubuntu-latest'
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Use Node.js 22.x
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22.x'
21+
22+
- name: Yarn Setup
23+
run: yarn setup
24+
25+
- name: Build Android App
26+
run: yarn build
27+
28+
- name: Upload APK as artifact
29+
uses: actions/upload-artifact@v4.6.1
30+
with:
31+
name: acode-release
32+
path: /home/runner/work/Acode/Acode/platforms/android/app/build/outputs/apk/release/app-release.apk
33+
34+

0 commit comments

Comments
 (0)