Skip to content

Commit

Permalink
Build the App Bundle too
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT committed May 11, 2024
1 parent 1e456aa commit 70ea2f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,19 @@ jobs:

- name: Build with Gradle
run: |
./gradlew assembleRelease --stacktrace
./gradlew assembleRelease bundleRelease --stacktrace
{
echo "version=v$(grep versionName version.properties | sed 's/^[^=]*=//')"
echo "commit=$(echo ${{ github.sha }} | cut -c-7)"
} >> $GITHUB_ENV
- name: Upload APK
- name: Copy built artifacts
run: |
cp -v app/build/outputs/apk/release/app-release.apk Dhizuku-${{ env.version }}.apk
cp -v app/build/outputs/bundle/release/app-release.aab Dhizuku-${{ env.version }}.aab
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Dhizuku(${{ env.version }}@${{ env.commit }})
path: app/build/outputs/apk/release/app-release.apk
path: Dhizuku-${{ env.version }}.a*
5 changes: 4 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@

-keep class rikka.shizuku.ShizukuProvider

-dontwarn **
-dontwarn **

-keepattributes LineNumberTable,SourceFile
-renamesourcefileattribute SourceFile

0 comments on commit 70ea2f4

Please sign in to comment.