Compare commits
2 Commits
0e4b568cea
...
ff32dc3103
| Author | SHA1 | Date | |
|---|---|---|---|
| ff32dc3103 | |||
| c0878763dc |
46
.gitea/workflows/build-apk.yml
Normal file
46
.gitea/workflows/build-apk.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: Build Android APK
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '22'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Sync Capacitor
|
||||||
|
run: npx cap sync android
|
||||||
|
|
||||||
|
- name: Build APK
|
||||||
|
working-directory: android
|
||||||
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
|
- name: Upload APK>
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: impostor-game-debug
|
||||||
|
path: android/app/build/outputs/apk/debug/app-debug.apk
|
||||||
|
retention-days: 30
|
||||||
BIN
www/logo.78f51359.png
Normal file
BIN
www/logo.78f51359.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
1360
www/script.c9dd22de.js
Normal file
1360
www/script.c9dd22de.js
Normal file
File diff suppressed because it is too large
Load Diff
1829
www/styles.2e5df802.css
Normal file
1829
www/styles.2e5df802.css
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user