Skip to content

Commit

Permalink
Upload build artifacts (#941)
Browse files Browse the repository at this point in the history
To decode obfuscated stack traces and help debugging R8 issues.
  • Loading branch information
FooIbar authored Jun 23, 2024
1 parent e17f70f commit 5c249dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,15 @@ jobs:

- name: Build app and run unit tests
run: ./gradlew detekt assembleStandardRelease testReleaseUnitTest testStandardReleaseUnitTest

- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: arm64-v8a-${{ github.sha }}
path: app/build/outputs/apk/standard/release/app-standard-arm64-v8a-release-unsigned.apk

- name: Upload mapping
uses: actions/upload-artifact@v4
with:
name: mapping-${{ github.sha }}
path: app/build/outputs/mapping/standardRelease
12 changes: 12 additions & 0 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ jobs:
- name: Build app and run unit tests
run: ./gradlew detekt assembleStandardRelease testReleaseUnitTest testStandardReleaseUnitTest

- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: arm64-v8a-${{ github.sha }}
path: app/build/outputs/apk/standard/release/app-standard-arm64-v8a-release-unsigned.apk

- name: Upload mapping
uses: actions/upload-artifact@v4
with:
name: mapping-${{ github.sha }}
path: app/build/outputs/mapping/standardRelease

# Sign APK and create release for tags

- name: Get tag name
Expand Down

0 comments on commit 5c249dd

Please sign in to comment.