Skip to content

Commit

Permalink
Merge pull request #56 from s1204IT/main
Browse files Browse the repository at this point in the history
Build the App Bundle too
  • Loading branch information
iamr0s authored May 11, 2024
2 parents 1e456aa + 70ea2f4 commit b751c44
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 b751c44

Please sign in to comment.