mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
ci: Upload R8 apk and R8 mapping to artifact
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
This commit is contained in:
parent
276907770a
commit
dc0a3c3274
2 changed files with 33 additions and 3 deletions
22
.github/workflows/build_check.yml
vendored
22
.github/workflows/build_check.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
- name: Build and run tests
|
||||
if: startsWith(env.VERSION_TAG, 'r') != true && startsWith(env.VERSION_TAG, 'v') != true
|
||||
run: ./gradlew assembleDevDebug testDevDebugUnitTest
|
||||
run: ./gradlew assembleDevDebug testDevDebugUnitTest assembleStandardRelease
|
||||
|
||||
- name: Publish test report
|
||||
uses: mikepenz/action-junit-report@v4
|
||||
|
@ -44,7 +44,23 @@ jobs:
|
|||
detailed_summary: true
|
||||
report_paths: '**/build/test-results/test*/TEST-*.xml'
|
||||
|
||||
- name: Upload APK to artifact
|
||||
- name: Run tests against release variant
|
||||
if: startsWith(env.VERSION_TAG, 'r') != true && startsWith(env.VERSION_TAG, 'v') != true
|
||||
run: ./gradlew testStandardReleaseUnitTest
|
||||
|
||||
- name: Upload debug APK to artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: app/build/outputs/apk/dev/debug/*.apk
|
||||
path: app/build/outputs/apk/dev/debug/app*-arm64-v8a-*.apk
|
||||
|
||||
- name: Upload R8 APK to artifact
|
||||
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 R8 mapping
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mapping-${{ github.sha }}
|
||||
path: app/build/outputs/mapping/standardRelease
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue