Skip to content

Commit cac6127

Browse files
committed
Added debuggable release to pre release build on push
1 parent ceae3ab commit cac6127

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/pre-release_on-push.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,24 @@ jobs:
4343
with:
4444
timeout_minutes: 10
4545
max_attempts: 3
46-
command: ./gradlew assembleRelease assembleUnminifiedRelease
46+
command: ./gradlew assembleRelease assembleUnminifiedRelease assembleDebuggableRelease
4747

4848
- name: Rename APKs with version
4949
run: |
5050
MIN="OpenInsectId-v${{ env.versionName }}-beta-${{ github.run_number }}.apk"
5151
UNMIN="OpenInsectId-v${{ env.versionName }}-beta-${{ github.run_number }}-unminified.apk"
52+
DEBUG="OpenInsectId-v${{ env.versionName }}-beta-${{ github.run_number }}-debuggable.apk"
53+
54+
5255
5356
mv app/build/outputs/apk/release/app-release.apk "$MIN"
5457
mv app/build/outputs/apk/unminifiedRelease/app-unminifiedRelease.apk "$UNMIN"
58+
mv app/build/outputs/apk/debuggableRelease/app-unminifiedRelease.apk "$DEBUG"
5559
5660
echo "APK_MIN=$MIN" >> $GITHUB_ENV
5761
echo "APK_UNMIN=$UNMIN" >> $GITHUB_ENV
62+
echo "APK_DEBUG=$DEBUG" >> $GITHUB_ENV
63+
5864

5965

6066
# Create tag before release
@@ -74,5 +80,6 @@ jobs:
7480
files: |
7581
${{ env.APK_MIN }}
7682
${{ env.APK_UNMIN }}
83+
${{ env.APK_DEBUG }}
7784
env:
7885
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)