forked from PeterCxy/OpenEUICC
workflows: Add support for bundle builds
All checks were successful
/ build-debug (push) Successful in 4m33s
All checks were successful
/ build-debug (push) Successful in 4m33s
This commit is contained in:
parent
0518c3efd3
commit
5d73d4b17d
|
@ -35,6 +35,9 @@ jobs:
|
||||||
- name: Build Debug APKs
|
- name: Build Debug APKs
|
||||||
run: ./gradlew --no-daemon :app-unpriv:assembleJmpDebug
|
run: ./gradlew --no-daemon :app-unpriv:assembleJmpDebug
|
||||||
|
|
||||||
|
- name: Build Debug Bundle
|
||||||
|
run: ./gradlew --no-daemon :app-unpriv:bundleJmpDebug
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: https://gitea.angry.im/actions/upload-artifact@v3
|
uses: https://gitea.angry.im/actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -42,3 +45,4 @@ jobs:
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
path: |
|
path: |
|
||||||
app-unpriv/build/outputs/apk/jmp/debug/app-unpriv-jmp-debug.apk
|
app-unpriv/build/outputs/apk/jmp/debug/app-unpriv-jmp-debug.apk
|
||||||
|
app-unpriv/build/outputs/bundle/jmpDebug/app-unpriv-jmp-debug.aab
|
||||||
|
|
|
@ -34,9 +34,15 @@ jobs:
|
||||||
- name: Build Release APK
|
- name: Build Release APK
|
||||||
run: ./gradlew --no-daemon :app-unpriv:assembleJmpRelease
|
run: ./gradlew --no-daemon :app-unpriv:assembleJmpRelease
|
||||||
|
|
||||||
|
- name: Build Release Bundle
|
||||||
|
run: ./gradlew --no-daemon :app-unpriv:bundleJmpRelease
|
||||||
|
|
||||||
- name: Copy Debug Symbols to Release Path
|
- name: Copy Debug Symbols to Release Path
|
||||||
run: cp app-unpriv/build/outputs/native-debug-symbols/jmpRelease/native-debug-symbols.zip app-unpriv/build/outputs/apk/jmp/release/
|
run: cp app-unpriv/build/outputs/native-debug-symbols/jmpRelease/native-debug-symbols.zip app-unpriv/build/outputs/apk/jmp/release/
|
||||||
|
|
||||||
|
- name: Copy Bundle to Release Path
|
||||||
|
run: cp app-unpriv/build/outputs/bundle/jmpRelease/app-unpriv-jmp-release.aab app-unpriv/build/outputs/apk/jmp/release/
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: https://gitea.angry.im/actions/forgejo-release@v1
|
uses: https://gitea.angry.im/actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue