This commit is contained in:
parent
a5e7c12344
commit
0481ae23f3
@ -26,26 +26,34 @@ jobs:
|
||||
run: npm install -g @ionic/cli
|
||||
|
||||
- name: Install app dependencies
|
||||
run: npm install --verbose
|
||||
run: npm install
|
||||
|
||||
- name: Build Ionic App
|
||||
run: ionic build
|
||||
- name: Ionic Cap Sync
|
||||
run: ionic capacitor sync --prod
|
||||
|
||||
- name: Copy Android
|
||||
run: ionic capacitor copy android
|
||||
|
||||
- name: Build Android Dev APK
|
||||
run: ionic capacitor build android
|
||||
|
||||
- name: Build Android Release APK
|
||||
run: ionic capacitor build android --release --prod
|
||||
- name: Change permission for gradlew
|
||||
working-directory: ./android/
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Generate the Android App Bundle
|
||||
working-directory: ./android/
|
||||
run: ./gradlew bundle
|
||||
|
||||
# Run Tests Build
|
||||
- name: Run gradle tests
|
||||
working-directory: ./android/
|
||||
run: ./gradlew test
|
||||
|
||||
# Run Build Project
|
||||
- name: Build gradle project
|
||||
working-directory: ./android/
|
||||
run: ./gradlew build
|
||||
|
||||
# Create APK Debug
|
||||
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
|
||||
working-directory: ./android/
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
- name: Upload dev APK
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user