Skip to content

Update CallAppCICD.yml #2

Update CallAppCICD.yml

Update CallAppCICD.yml #2

Workflow file for this run

name: CallApp CI/CD
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
start:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Run sample script
run: echo Hello, CallApp
debug-apk:
name: Generate Debug APK
needs: [start]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: Build and test
run: |
chmod +x gradlew
./gradlew assembleDebug
./gradlew test
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk