Обновить .gitea/workflows/make-app.yaml
Some checks failed
Build Android / Build APK (push) Has been cancelled
Some checks failed
Build Android / Build APK (push) Has been cancelled
This commit is contained in:
parent
125993e759
commit
7745d098a3
@ -18,12 +18,7 @@ jobs:
|
|||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: amyu/setup-android@v4
|
uses: Xmaxer/setup-android@v1
|
||||||
with:
|
|
||||||
sdk-version: |
|
|
||||||
30
|
|
||||||
33
|
|
||||||
34
|
|
||||||
|
|
||||||
- name: Accept license for Android SDK
|
- name: Accept license for Android SDK
|
||||||
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 || if [ $? -ne '141' ]; then exit $?; fi; #Captures SIGPIPE 141 error but still allow repeating "y" to accept all licenses
|
||||||
@ -48,21 +43,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Clean gradle project
|
- name: Clean gradle project
|
||||||
working-directory: ./android/
|
working-directory: ./android/
|
||||||
run: ./gradlew clean
|
run: ./gradlew --no-daemon clean
|
||||||
|
|
||||||
# Create APK Debug
|
# Create APK Debug
|
||||||
- name: Build apk debug project (APK)
|
- name: Build apk debug project (APK)
|
||||||
working-directory: ./android/
|
working-directory: ./android/
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew --no-daemon assembleDebug
|
||||||
|
|
||||||
# Run Build Project
|
# Run Build Project
|
||||||
- name: Build gradle project
|
- name: Build gradle project
|
||||||
working-directory: ./android/
|
working-directory: ./android/
|
||||||
run: ./gradlew build
|
run: ./gradlew --no-daemon build
|
||||||
|
|
||||||
- name: Generate the Android App Bundle
|
- name: Generate the Android App Bundle
|
||||||
working-directory: ./android/
|
working-directory: ./android/
|
||||||
run: ./gradlew bundle
|
run: ./gradlew --no-daemon bundle
|
||||||
|
|
||||||
- name: Upload dev APK
|
- name: Upload dev APK
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user