Skip to content

Commit 41664e4

Browse files
committed
gate mappings to release builds
1 parent 8b17e65 commit 41664e4

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,29 @@ jobs:
6262
6363
- name: Rename mappings
6464
id: rename_mappings
65+
if: ${{ matrix.config.lower == 'release' }}
6566
run: |
6667
SHORT_SHA=${GITHUB_SHA::7}
6768
MAPPING_PATH=${{github.workspace}}/app/build/outputs/mapping/${{ matrix.config.lower }}/mapping.txt
6869
OUT_PATH=${{github.workspace}}/mapping-${{ matrix.config.lower }}-android32-$SHORT_SHA.txt
6970
mv MAPPING_PATH $OUT_PATH
7071
echo "path=$OUT_PATH" >> $GITHUB_OUTPUT
7172
72-
- name: Upload development build
73+
- name: Upload release build
7374
uses: actions/upload-artifact@v4
75+
if: ${{ matrix.config.lower == 'release' }}
7476
with:
7577
name: geode-launcher-${{ matrix.config.lower }}
7678
path: |
7779
${{ steps.rename_apk_universal.outputs.path }}
7880
${{ steps.rename_apk.outputs.path }}
7981
${{ steps.rename_mappings.outputs.path }}
82+
83+
- name: Upload debug build
84+
uses: actions/upload-artifact@v4
85+
if: ${{ matrix.config.lower == 'debug' }}
86+
with:
87+
name: geode-launcher-${{ matrix.config.lower }}
88+
path: |
89+
${{ steps.rename_apk_universal.outputs.path }}
90+
${{ steps.rename_apk.outputs.path }}

0 commit comments

Comments
 (0)