mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
chore(workflow): update APK path in 'Copy' step and add step to upload release mappings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user