chore(workflow): update APK path in 'Copy' step and add step to upload release mappings

This commit is contained in:
Akash Yadav
2023-12-16 12:28:00 +05:30
parent 922c46a35c
commit 3010fefb5a
+7 -2
View File
@@ -81,13 +81,18 @@ jobs:
./gradlew :app:assemble${flavor^}${build_type^}
- name: Copy ${{ matrix.flavor }} ${{ matrix.build_type }} APK
run: |
find app/build/outputs/apk
cp app/build/outputs/apk/**/*.apk ./
cp app/build/outputs/apk/${{ matrix.flavor }}/${{ matrix.build_type }}/app-${{ matrix.flavor }}-${{ matrix.flavor }}-${{ matrix.build_type }}.apk ./
- name: Upload ${{ matrix.flavor }} ${{ matrix.build_type }} APK
uses: actions/upload-artifact@v3
with:
name: apk-${{ matrix.flavor }}-${{ matrix.build_type }}
path: app-${{ matrix.flavor }}-${{ matrix.flavor }}-${{ matrix.build_type }}.apk
- name: Upload ${{ matrix.flavor }} ${{ matrix.build_type }} mappings
if: ${{ matrix.build_type == 'release' }}
uses: actions/upload-artifact@v3
with:
name: release-mappings
path: '**/build/outputs/mapping'
run_unit_tests:
name: Run unit tests