Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
floki1250 authored Oct 4, 2024
1 parent 698add5 commit b288aff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17' # You may need to adjust the version for Cordova compatibility
java-version: '17' # Adjust this to your required Java version
distribution: 'adopt'

# Step 7: Set up Android SDK (using android-actions/setup-android)
- name: Install Android SDK
uses: android-actions/setup-android@v2
Expand All @@ -61,3 +62,10 @@ jobs:
cordova platform add android
cordova build android
working-directory: mobile

# Step 10: Upload the APK as an artifact
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: mobile/platforms/android/app/build/outputs/apk/debug/app-debug.apk # Adjust if using release build

0 comments on commit b288aff

Please sign in to comment.