pull/1919/head
Jegatheeswaran M 2 months ago
parent 882c4f71db
commit 32bb7980f6

@ -0,0 +1,36 @@
name: Build APK from Specific Branch
on:
push:
branches:
- your-branch-name # change this to your branch
workflow_dispatch: # enables manual trigger from GitHub UI
jobs:
build:
name: Build Debug APK
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: feature/test # Checkout specific branch
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Make Gradle executable
run: chmod +x ./gradlew
- name: Build APK
run: ./gradlew assembleDebug
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: debug-apk
path: app/build/outputs/apk/debug/app-debug.apk
Loading…
Cancel
Save