Обновить .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
01dc0b3364
@ -18,12 +18,7 @@ jobs:
|
||||
cache: 'gradle'
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: amyu/setup-android@v4
|
||||
with:
|
||||
sdk-version: |
|
||||
30
|
||||
33
|
||||
34
|
||||
uses: Xmaxer/setup-android@v1
|
||||
|
||||
- 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
|
||||
@ -48,21 +43,21 @@ jobs:
|
||||
|
||||
- name: Clean gradle project
|
||||
working-directory: ./android/
|
||||
run: ./gradlew clean
|
||||
run: ./gradlew --no-daemon clean
|
||||
|
||||
# Create APK Debug
|
||||
- name: Build apk debug project (APK)
|
||||
working-directory: ./android/
|
||||
run: ./gradlew assembleDebug
|
||||
run: ./gradlew --no-daemon assembleDebug
|
||||
|
||||
# Run Build Project
|
||||
- name: Build gradle project
|
||||
working-directory: ./android/
|
||||
run: ./gradlew build
|
||||
run: ./gradlew --no-daemon build
|
||||
|
||||
- name: Generate the Android App Bundle
|
||||
working-directory: ./android/
|
||||
run: ./gradlew bundle
|
||||
run: ./gradlew --no-daemon bundle
|
||||
|
||||
- name: Upload dev APK
|
||||
uses: actions/upload-artifact@v1
|
||||
|
Loading…
Reference in New Issue
Block a user