gate mappings to release builds

This commit is contained in:
Chloe committed 2026-02-25 03:00:48 -07:00
1 parent 8b17e6591f
commit 41664e430c
1 file changed
+12 -1
+12 -1
View File
@@ -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 }}