mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-23 08:49:22 +00:00
gate mappings to release builds
This commit is contained in:
1 file changed
+12
-1
@@ -62,6 +62,7 @@ jobs:
|
||||
|
||||
- name: Rename mappings
|
||||
id: rename_mappings
|
||||
if: ${{ matrix.config.lower == 'release' }}
|
||||
run: |
|
||||
SHORT_SHA=${GITHUB_SHA::7}
|
||||
MAPPING_PATH=${{github.workspace}}/app/build/outputs/mapping/${{ matrix.config.lower }}/mapping.txt
|
||||
@@ -69,11 +70,21 @@ jobs:
|
||||
mv MAPPING_PATH $OUT_PATH
|
||||
echo "path=$OUT_PATH" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload development build
|
||||
- name: Upload release build
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ matrix.config.lower == 'release' }}
|
||||
with:
|
||||
name: geode-launcher-${{ matrix.config.lower }}
|
||||
path: |
|
||||
${{ steps.rename_apk_universal.outputs.path }}
|
||||
${{ steps.rename_apk.outputs.path }}
|
||||
${{ steps.rename_mappings.outputs.path }}
|
||||
|
||||
- name: Upload debug build
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ matrix.config.lower == 'debug' }}
|
||||
with:
|
||||
name: geode-launcher-${{ matrix.config.lower }}
|
||||
path: |
|
||||
${{ steps.rename_apk_universal.outputs.path }}
|
||||
${{ steps.rename_apk.outputs.path }}
|
||||
Reference in new issue
Block a user