maybe fix for step "Accept license for Android SDK" in make-app.yaml
Some checks failed
Build Android / Build APK (push) Failing after 13m59s
Some checks failed
Build Android / Build APK (push) Failing after 13m59s
This commit is contained in:
parent
847c1d8aa6
commit
93490b108f
@ -25,8 +25,7 @@ jobs:
|
|||||||
34
|
34
|
||||||
|
|
||||||
- name: Accept license for Android SDK
|
- name: Accept license for Android SDK
|
||||||
continue-on-error: true
|
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses || if [ $? -ne '141' ]; then exit $?; fi; #Captures SIGPIPE 141 error but still allow repeating "y" to accept all licenses
|
||||||
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
name: Test APK build
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Test APK build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout source
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set Up JDK
|
|
||||||
uses: actions/setup-java@v3
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
cache: 'gradle'
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: amyu/setup-android@v4
|
|
||||||
with:
|
|
||||||
sdk-version: |
|
|
||||||
30
|
|
||||||
34
|
|
||||||
|
|
||||||
- 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:
|
|
||||||
name: app-dev
|
|
||||||
path: apk/app-debug.apk
|
|
||||||
|
|
||||||
- name: Upload release bundle
|
|
||||||
uses: actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: app-release
|
|
||||||
path: apk/app.aab
|
|
Loading…
Reference in New Issue
Block a user