mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Test building aab
This commit is contained in:
parent
3e2a1869ab
commit
1247ff46fb
2 changed files with 54 additions and 2 deletions
16
.github/workflows/pr.yml
vendored
16
.github/workflows/pr.yml
vendored
|
|
@ -43,8 +43,8 @@ jobs:
|
|||
- name: Build app
|
||||
id: buildapp
|
||||
run: |
|
||||
./gradlew clean assembleDebug testDebugUnitTest --no-daemon
|
||||
apks=$(find app/build/outputs/apk -name '*.apk' -print0 | tr '\0' ',' | sed 's/,$//')
|
||||
./gradlew clean assembleDebug bundleDebug testDebugUnitTest --no-daemon
|
||||
apks=$(find app/build/outputs/ -name '*.apk' -or -name '*.aab' -print0 | tr '\0' ',' | sed 's/,$//')
|
||||
echo "apks=$apks" >> "$GITHUB_OUTPUT"
|
||||
- name: Tar build dirs
|
||||
run: |
|
||||
|
|
@ -60,3 +60,15 @@ jobs:
|
|||
name: APKs
|
||||
path: "${{ steps.buildapp.outputs.apks }}"
|
||||
compression-level: 0
|
||||
|
||||
test-patch:
|
||||
runs-on: ubuntu-latest
|
||||
needs: pre-commit
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Test applying patch
|
||||
run: |
|
||||
git apply app/src/patches/play_store.patch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue